From: codea AT iona DOT com Newsgroups: comp.os.msdos.djgpp Subject: Re: RHIDE SUGGESTION Date: Sun, 09 Mar 1997 14:20:42 +0000 Organization: EUnet Ireland customer Lines: 20 Message-ID: <3322C73A.42C5@iona.com> References: <5fogsh$5kq AT freenet-news DOT carleton DOT ca> <5ftsd4$mks AT freenet-news DOT carleton DOT ca> <5fubv8$3tr AT lyra DOT csx DOT cam DOT ac DOT uk> Reply-To: codea AT iona DOT com NNTP-Posting-Host: lychee.dublin.iona.ie Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp G.P. Tootell wrote: > it's not much use under dos really because the 'find' command does pretty > much the same thing. > try 'find "hello" filename' for instance. (which would be 'grep 'hello' < > filename' under unix) grep also allows the use of regular expressions which is far more powerful than the simple string searches supported by DOS' find. This allow you to do stuff like c:> grep "hell[ o]" filename which would give all instances of the string "hell" or "hello" in the specified file. Silly example but its worth checking out. rgds Conrad