6 lines
111 B
Bash
Executable File
6 lines
111 B
Bash
Executable File
#!/bin/sh
|
|
tmpfile=$(mktemp /tmp/st-edit.XXXXXX)
|
|
trap 'rm "$tmpfile"' 0 1 15
|
|
cat > "$tmpfile"
|
|
emacs "$tmpfile"
|