AIXSPadmin
MIS
I always use korn shell in my job, however, there is a file that is 200,000+ lines, and needless to say I need speed because it runs for too long in ksh.
What is needed is finding a line that matches a string and then print out that line plus the next 16 lines after the match. There could be any number of string matches in the file.
Thanks for any input in solving this using C.
What is needed is finding a line that matches a string and then print out that line plus the next 16 lines after the match. There could be any number of string matches in the file.
Thanks for any input in solving this using C.