4 EMACS_CLIENT
=emacsclient
5 TMP_FILE
=~
/.org-fireforg-mac.tmp
11 COM
=$
(head -n 1 ${TMP_FILE})
13 if [ "${COM}" != "" ]; then
14 # echo "Calling ${EMACS_CLIENT} with argument: ${COM}"
16 ${EMACS_CLIENT} "${COM}"
18 # Remove the first line
19 perl
-pi -e '$_ = "" if ($. == 1);' ${TMP_FILE}