Annotation of cci/usr/src/usr.lib/tmac/ms/end.awk, revision 1.1.1.1

1.1       root        1: BEGIN {
                      2:        print ".bp"             >  "endnotes"
                      3:        print ".nr # 0 1"       >> "endnotes"
                      4:        print ".ds # \\\\n+#."  >> "endnotes"
                      5:        print ".TL"             >> "endnotes"
                      6:        print "ENDNOTES"        >> "endnotes"
                      7:        print ".sp"             >> "endnotes"
                      8:        }
                      9: {
                     10:        if ($1 == ".FS") {
                     11:                inNote = 1
                     12:                print ".IP \\*#" >> "endnotes"
                     13:        }
                     14:        else if ($1 == ".FE")
                     15:                inNote = 0;
                     16: 
                     17:        else if (inNote)
                     18:                print $0 >> "endnotes"
                     19:        else
                     20:                print
                     21: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.