|
|
1.1 root 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
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.