home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume10 / stat / README < prev    next >
Text File  |  1990-02-26  |  1KB  |  31 lines

  1.  
  2. Stat is a program that brings all the power of the stat(2) system call
  3. to the shell programer.  It can be used to print various
  4. characteristics of a file such as its size, permissions, dates, type
  5. etc. in a variety of user specified formats.  The output can be easily
  6. manipulated with tools such as awk, sed and sort to provide complex
  7. file selection and printing mechanisms.  Obvious applications are
  8. novice-user-friendly versions of ls(1) and getting the mode of a file
  9. in a way that can be later used by chmod(1).  It has been tested under 
  10. 4.3 BSD, AIX, HP/UX, SunOS, and Ultrix.
  11.  
  12. The output format is specified at three different levels in a
  13. printf(3S) like way.  A global output format string specifies the
  14. items which are printed.  The way the different time values are printed
  15. is specified by other format strings.  Finaly the way each individual
  16. field is printed (number base, justification, padding) can be specified
  17. using the normal printf specifications.
  18.  
  19. Comments and additions can be sent to the author:
  20.  
  21.     Diomidis Spinellis
  22.     Myrsinis 1
  23.     GR-145 62 Kifissia
  24.     GREECE
  25.  
  26. --
  27. Diomidis Spinellis                  Internet:                 dds@cc.ic.ac.uk
  28. Department of Computing             UUCP:                    ...!ukc!iccc!dds
  29. Imperial College                    JANET:                    dds@uk.ac.ic.cc
  30. London SW7 2BZ                      #include "/dev/tty"
  31.