home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / mod.std.unix.v9 / text0003.txt < prev    next >
Encoding:
Internet Message Format  |  1987-06-30  |  934 b 

  1. From: cbosgd!mark@seismo.css.gov (Mark Horton)
  2. Date: Wed, 24 Dec 86 17:50:53 est
  3. Organization: AT&T Medical Information Systems, Columbus
  4.  
  5. >`%y' and `%Y' are unnecessary.  `%y' could push the year-with-century,
  6. >and `%{100}' the value 100; invoking mod (`%%'? the name may prove
  7. >problematical)
  8.  
  9. Terminfo uses %m for mod to get around the obvious problem of using
  10. %% to get a literal %.
  11.  
  12. Chris makes a very good point.  Another observation is that there
  13. are lots of special pieces of the date you might want; rather than
  14. giving them a separate letter each, you could group them as
  15. parameters in a standard vector.  Thus, %p1 might get the hours
  16. rather than %H.  If you like the mnemonics, %pH might be a
  17. synonym.  The idea here is that a vector is more easily extended,
  18. and you don't have to be so careful about using up the space of
  19. letters.  This makes it easier to be printf-compatible.
  20.  
  21.     Mark
  22.  
  23.  
  24. Volume-Number: Volume 9, Number 4
  25.  
  26.