Page 1 of 1

Urgent!

Posted: Mon Mar 17, 2003 2:08 am
by mleskine
Hi,
has anyone done a script that searches a string inside file?
Quick help needed.
thanks

Posted: Mon Mar 17, 2003 2:09 am
by twigletmac
Have you checked hotscripts.com?

Mac

Posted: Mon Mar 17, 2003 2:40 am
by Tubbietoeter
Use preg_match() on each line.

Posted: Mon Mar 17, 2003 3:36 am
by volka
you might find grep useful as well. Not a script but a common tool. There are also win32 ports.