home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / shell / 4664 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  384 b 

  1. Path: sparky!uunet!dinowine!eddjp
  2. From: eddjp@dinowine.huber.com (Dewey Paciaffi)
  3. Newsgroups: comp.unix.shell
  4. Subject: Am I writing to a tty or pipe?
  5. Message-ID: <228@dinowine.huber.com>
  6. Date: 12 Nov 92 18:25:37 GMT
  7. Organization: J.M. Huber Corp, Edison, NJ
  8. Lines: 5
  9.  
  10.  
  11. Is there a way to determine from within a Bourne shell script if
  12. the output is being written to a tty or a pipe?
  13.  
  14.  
  15.