home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / question / 14884 < prev    next >
Encoding:
Text File  |  1992-12-22  |  578 b   |  20 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!Cadence.COM!dew
  3. From: dew@rocky.cadence.com (Dave Wilson)
  4. Subject: How to tell if you have an ASCII file
  5. Message-ID: <1992Dec22.152123.5852@Cadence.COM>
  6. Originator: dew@rocky
  7. Keywords: ASCII
  8. Sender: dew@rocky (Dave Wilson)
  9. Nntp-Posting-Host: rocky
  10. Organization: Cadence Design Systems
  11. Distribution: usa
  12. Date: Tue, 22 Dec 1992 15:21:23 GMT
  13. Lines: 5
  14.  
  15.  
  16. I would like to be able to quickly tell if the file I am opening is ASCII text
  17. or some binary executable or data file.  Is there any way of foolproof way of doing this?
  18.  
  19. Thanks
  20.