home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / unix / riscbsd / 1_1_contri / usd / 11_notes / 4_5 < prev    next >
Encoding:
Text File  |  1986-05-27  |  907 b   |  29 lines

  1. .\"    @(#)4.5    6.1 (Berkeley) 5/26/86
  2. .\"
  3. .se "Checking for New Notes"
  4.  
  5.     The checknotes program
  6. checks the notesfiles specified by the NFSEQ environment 
  7. variable to determine if there are new notes.
  8. The exit code is arranged to make the program useful in shell scripts:
  9. 0 (TRUE) is there are new notes, 1 (FALSE) otherwise.
  10.  
  11.     Use the ``-q'' option to receive a message
  12.  
  13.         There are new notes
  14.  
  15. if one or more of the notesfiles have notes/responses written since
  16. the user's last entry time into that notesfile.
  17.  
  18.     The ``-n'' option is similar to the ``-q'' option, with the exception
  19. that it yields output when there are no new notes. The output
  20. of checknotes with the ``-n'' option is:
  21.  
  22.         There are no new notes
  23.  
  24.     Use ``-v'' to print the name of each notesfile with new 
  25. notes/responses.
  26. The ``-s'' option is suitable for use in conditional
  27. expressions in shell scripts; no output is generated by this option.
  28.  
  29.