Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: How to find that a line "genman.py" exists in a python file

by ramlight (Friar)
on Apr 02, 2012 at 12:42 UTC ( [id://963002] : note . print w/replies, xml ) Need Help??


in reply to Re: How to find that a line "genman.py" exists in a python file
in thread How to find that a line "genman.py" exists in a python file

or, if the OP happens to be on Windows, findstr will do the same thing:
findstr /c:"genman.py" C:\python.py findstr /v /c:"genman.py" C:\python.py