|
|
1.1 ! root 1: .se "Checking for New Notes" ! 2: ! 3: The checknotes program ! 4: checks the notesfiles specified by the NFSEQ environment ! 5: variable to determine if there are new notes. ! 6: The exit code is arranged to make the program useful in shell scripts: ! 7: 0 (TRUE) is there are new notes, 1 (FALSE) otherwise. ! 8: ! 9: Use the ``-q'' option to receive a message ! 10: ! 11: There are new notes ! 12: ! 13: if one or more of the notesfiles have notes/responses written since ! 14: the user's last entry time into that notesfile. ! 15: ! 16: The ``-n'' option is similar to the ``-q'' option, with the exception ! 17: that it yields output when there are no new notes. The output ! 18: of checknotes with the ``-n'' option is: ! 19: ! 20: There are no new notes ! 21: ! 22: Use ``-v'' to print the name of each notesfile with new ! 23: notes/responses. ! 24: The ``-s'' option is suitable for use in conditional ! 25: expressions in shell scripts; no output is generated by this option. ! 26:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.