Slightly OT:
I did a google search some time ago and found a grep command line util
for windows...
A quick google today produced this link:
http://www.interlog.com/~tcharron/grep.html

Personally, since switching to linux at home, I find myself trying to
use all manner of unix commands on my windows box... Even had to make an
ls batch file :)  I simply couldn't live without grep now...

Ron

> -----Original Message-----
> From: David T-G [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, July 11, 2002 11:07 AM
> To: perl beginners
> Cc: Anders Holm
> Subject: Re: Using grep with Win32 perl?
> 
> 
> Anders, et al --
> 
> ...and then Anders Holm said...
> % 
> % [snip]
> % 
> % > Why do you think you can't do this? The command is all 
> right and % > there is not reason why would grep() work 
> differently under Unix and % > Windows. % > % > Jenda % 
> % Jenda, I think he's thinking of the command line version of 
> grep as opposed % to the Perl function grep()... :)
> 
> I believe you're right on that point.
> 
> 
> % 
> % Yes, grep() works in Perl. There was an "off-spring" in the 
> *nix world where % it was also made into a command line 
> program, so one could "grep on a file"
> 
> Well, I wouldn't exactly call the command-line version an 
> "off-spring" of perl, since it (just like sed, awk, and other 
> UNIX tools) existed long before Larry put the first version 
> of perl together.  The perl grep function works, amazingly 
> enough, about like the command-line program (rather than the 
> other way around).
> 
> 
> % manually... I believe that it is this tool you are thinking 
> of. Hope this % clears up things for you.
> 
> Same here.  Meanwhile, in addition to natively-compiled 
> versions of grep and the grep in the Cygwin toolkit, the DOS 
> command find fills (well, as well as it can :-) the same 
> need.  If you really wanted to use an external program even 
> under Win, you could.
> 
> 
> % 
> % //Anders//
> 
> 
> HTH & HAND
> 
> :-D
> -- 
> David T-G                      * It's easier to fight for 
> one's principles
> (play) [EMAIL PROTECTED] * than to live up to them. -- 
> fortune cookie
> (work) [EMAIL PROTECTED]
> http://www.justpickone.org/davidtg/    Shpx gur 
> Pbzzhavpngvbaf Qrprapl Npg!
> 
> 

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to