- #!/bin/zsh
- # my-init.org [[nil][printout-script]]
- [ $# -eq 0 ] && { echo "Usage $0: file1 file2 ... fileN" ; exit 1; }
- for file in $*
- do
- [ -f $file ] \
- && emacs -q -Q --no-init -nw \
- -l "~/.emacs.d/general-print-file.el" \
- --file $file \
- --eval "(ps-print-buffer-with-faces)" \
- --eval "(kill-emacs)" \
- || echo "File does not exist: $file"
- done
- # End my-init.org [[nil][printout-script]]
|