home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / question / 10692 < prev    next >
Encoding:
Text File  |  1992-09-03  |  815 b   |  27 lines

  1. Path: sparky!uunet!uunet.ca!canrem!dosgate![scott.williams@canrem.com]
  2. From: "scott williams" <scott.williams@canrem.com>
  3. Newsgroups: comp.unix.questions
  4. Subject: a question on ls
  5. Message-ID: <1992Sep3.1181.20273@dosgate>
  6. Date: 3 Sep 92 12:50:42 EST
  7. Reply-To: "scott williams" <scott.williams@canrem.com>
  8. Distribution: comp
  9. Organization: Canada Remote Systems
  10. Lines: 15
  11.  
  12.  
  13. In article <6786#tekig7.PEN.TEK.COM> naren@tekig5.pen.tek.com (Naren Bala)
  14. writes:
  15.  
  16. | >What command would I type to display all files that do not have a .Z
  17. | >extension ?
  18.  
  19. In sh, my preference would be to combine ls with grep, as in:
  20.  
  21.    ls | grep -v '\.Z$'
  22. ---
  23.  ■ DeLuxe² 1.12 #8626 ■ Scott Williams, Editor, Open Systems Letter
  24. --
  25. Canada Remote Systems  - Toronto, Ontario/Detroit, MI
  26. World's Largest PCBOARD System - 416-629-7000/629-7044
  27.