Sender: nate AT cartsys DOT com Message-ID: <36BF8BC3.5D414848@cartsys.com> Date: Mon, 08 Feb 1999 17:13:39 -0800 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.0.36 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: ptrdiff_t References: <3 DOT 0 DOT 6 DOT 32 DOT 19990207213333 DOT 0081a3f0 AT pop DOT netaddress DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Paul Derbyshire wrote: > > At 02:02 AM 2/7/99 -0500, you wrote: > >You should try "grep" next time. > > I've never been ableto get gnu grep to work. :P > The documentation is obfuscated ... reads like a reference manual. It's > obviously geared to people who are already familiar with grep, not for grep > newbies. > I tried what I guessed from the documentation would find all files with a > certain string in a directory (which I knew had some files containing the > string) and it came up empty... Have you possibly got an old version of grep? More recent ones come with much better documentation, IIRC. Anyway, the general format is grep "regex" file [...] or, simpler still, fgrep "string" file [...] where regex is a regexp (see regcomp, perhaps), and file can include any of the usual DJGPP glob characters. -- Nate Eldredge nate AT cartsys DOT com