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.
eh............. tried using the STRINSTR(); function in whatever language you're using?...
(strinstr = STRING IN STRING) or in BASIC, INSTR (in string)
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |