Search Results

Search: Posts Made By: jjp
3,257
Posted By jjp
There we go. That works, but it appears the...
There we go. That works, but it appears the 'exit' won't look in all files. For some reason it only scans one. If I omit the 'exit', it works perfectly.

Thanks. Shell scripting is not my...
3,257
Posted By jjp
That almost works, but it appears to only scan...
That almost works, but it appears to only scan one file, whereas I'm trying to scan hundreds. Also, anyway to omit printing the first line after line X, and only print the second.

This is very...
3,257
Posted By jjp
Thanks for that! Looks clean enough, but appears...
Thanks for that! Looks clean enough, but appears to be grabbing two lines before line X. I'm looking for two lines after line X. Any insight?

Thanks again!
3,257
Posted By jjp
X num of lines before and after
I have a slew of files for historical reference.

Each file has a unique line in the file, such as "Today's datetime is:"

Each file also contains a unique set of characters on line X, such as...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 02:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy