Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!oliveb!mipos3!omepd!merlyn From: merlyn@iwarp.intel.com (Randal Schwartz) Newsgroups: comp.unix.wizards Subject: Re: ls -A Message-ID: <5026@omepd.UUCP> Date: 9 Oct 89 21:36:48 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> Sender: news@omepd.UUCP Reply-To: merlyn@iwarp.intel.com (Randal Schwartz) Distribution: na Organization: Stonehenge; netaccess via Intel, Hillsboro, Oregon, USA Lines: 24 In-reply-to: peter@ficc.uu.net (Peter da Silva) In article <6468@ficc.uu.net>, peter@ficc (Peter da Silva) writes: | In article <1989Oct8.212100.12355@rpi.edu> tale@pawl.rpi.edu (David C Lawrence) writes: | >What about | >when I do want to grep all of the files (but not . and ..) in the | >current directory? Shell globbing alone is not sufficient for this | >where .files exist. | | grep 'pattern' .??* * Nope. Misses the two character files beginning with dot. And, whatareyagonna do about that? :-) I still like: grep 'pattern' `ls -A` but that presumes you're in a place that understands -A. Just another UNIX hacker, -- /== Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ====\ | on contract to Intel's iWarp project, Hillsboro, Oregon, USA, Sol III | | merlyn@iwarp.intel.com ...!uunet!iwarp.intel.com!merlyn | \== Cute Quote: "Welcome to Oregon... Home of the California Raisins!" ==/