home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!peora!tarpit!bilver!vicstoy!ctmnix!chris
- From: chris@ctmnix.UUCP (Chris Matthews)
- Newsgroups: comp.unix.questions
- Subject: Re: A question on ls
- Message-ID: <44@ctmnix.UUCP>
- Date: 1 Sep 92 01:37:38 GMT
- References: <6786@tekig7.PEN.TEK.COM> <1992Aug29.233534.27967@umbc3.umbc.edu>
- Reply-To: chris@ctmnix.UUCP (Chris Matthews)
- Distribution: na
- Organization: Underground Nixbox Creations
- Lines: 29
-
- In article <1992Aug29.233534.27967@umbc3.umbc.edu> rouben@math9.math.umbc.edu (Rouben Rostamian) writes:
- >>In article <6786@tekig7.PEN.TEK.COM> naren@tekig5.pen.tek.com (Naren Bala) writes:
- >>>If I type
- >>>% ls *.Z
- >>>All files with .Z extension are displayed.
- >>>
- >>>What command would I type to display all files that do not have a .Z
- >>>extension ?
- >>
- >>
- >>--
-
- How about:
- find ./ -print | egrep -v "Z"
-
- or
- find ./ -print | egrep -v "z"
-
- Should work in all shells.
-
- Tested in SCO 3.2.2.
- Chris
- Genisys Corp.
- Mon Aug 31 21:09:06 EDT 1992
- =-=-
- =-=-
- =-=-
-
-
-