delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/11/06:20:58

Newsgroups: comp.os.msdos.djgpp
From: rd5718 AT irix DOT bris DOT ac DOT uk (Rich Dawe)
Subject: Re: ptrdiff_t
X-Nntp-Posting-Host: irix.bris.ac.uk
Message-ID: <F6zInt.91A@fsa.bris.ac.uk>
Lines: 22
Sender: usenet AT fsa DOT bris DOT ac DOT uk (Usenet)
Organization: University of Bristol, England
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
References: <3 DOT 0 DOT 6 DOT 32 DOT 19990207213333 DOT 0081a3f0 AT pop DOT netaddress DOT com>
Date: Thu, 11 Feb 1999 10:04:41 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Paul Derbyshire (pderbysh AT usa DOT net) wrote:
: 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...

	grep <string> <files>

e.g. grep ptrdiff_t e:/djgpp/include/*.h

Put quotes round the string if you have spaces in it. You might also need
to escape it. You can put wildcards in the filenames, e.g.
e:/djgpp/inclue/*/*.h. You can also do 'grep --help' for some helpful
help.

	Happy grepin'
	HTH

-- 
==============================================================================
         Rich Dawe - 4th-year MSci Physicist @ Bristol University, UK
           richdawe AT bigfoot DOT com, http://www.bigfoot.com/~richdawe/
==============================================================================

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019