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!
msg27369/pgp00000.pgp
Description: PGP signature