Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!texbell!sugar!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.unix.wizards Subject: Re: ls -A Message-ID: <6470@ficc.uu.net> Date: 9 Oct 89 12:39:32 GMT References: <15@minya.UUCP> <14611@bloom-beacon.MIT.EDU> <1989Oct6.201107.9465@eci386.uucp> <1989Oct7.032907.27496@rpi.edu> <1989Oct8.212100.12355@rpi.edu> <6468@ficc.uu.net> <602@buster.irby.com> Reply-To: peter@ficc.uu.net (Peter da Silva) Distribution: na Organization: Xenix Support, FICC Lines: 19 I said, > grep 'pattern' .??* * Would exclude . and .. from a search. In article <602@buster.irby.com> rli@buster.irby.com (Buster Irby) writes: >Sorry Peter, but you just flunked your Unix Wizards Test! And goes on to point out that I'm skipping all 2-character names beginning with '.', like '.a' for example. Yes, I know that. But in practical terms '.??* *' is good enough, and a lot easier to type. I can't recall ever seeing a file that would match '.?'. -- Peter da Silva, *NIX support guy @ Ferranti International Controls Corporation. Biz: peter@ficc.uu.net, +1 713 274 5180. Fun: peter@sugar.hackercorp.com. `-_-' 'U` Quote: Structured Programming is a discipline -- not a straitjacket.