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

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!dsr!farleys
  3. From: farleys@dsr.uucp (Steve Farley)
  4. Subject: Re: How to tell if you have an ASCII file
  5. Organization: DSR
  6. Distribution: usa
  7. Date: Wed, 23 Dec 1992 13:42:08 GMT
  8. Message-ID: <1992Dec23.134208.1535@dsr.uucp>
  9. References: <1992Dec22.152123.5852@Cadence.COM>
  10. Keywords: ASCII
  11. Lines: 13
  12.  
  13. dew@rocky.cadence.com (Dave Wilson) writes:
  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.  
  21. The "file" command usually works nicely.
  22.  
  23.  
  24. Steven R. Farley
  25. Digital System Resources
  26.