home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2 / Openstep-4.2-Intel-User.iso / usr / lib / ms / endnote < prev    next >
Text File  |  1983-06-23  |  354b  |  19 lines

  1. : endnote - move footnotes to separate file
  2.  
  3. if test $# -eq 0
  4. then
  5.     echo "Usage: endnote textfile ...
  6.     moves all footnotes to separate file of endnotes
  7.     sends text, then endnotes, to standard output"
  8.     exit
  9. fi
  10. if test -f endnotes
  11. then
  12.     echo "endnotes exist - mv or rm before proceeding"
  13.     exit
  14. fi
  15.  
  16. awk -f /usr/lib/ms/end.awk $*
  17. cat endnotes
  18. rm -f endnotes
  19.