script to copy line wiz string & line before

June 30, 2011 at 19:14:16
Specs: Windows xp
I am looking for a shell script that looks for a string and copies the entire lines that contain the string itself, and the one just above this line.

See More: script to copy line wiz string & line before

Report •


#1
July 8, 2011 at 22:03:47
eh.............

tried using the STRINSTR(); function in whatever language you're using?...

(strinstr = STRING IN STRING) or in BASIC, INSTR (in string)


Report •
Related Solutions


Ask Question