Search Results

Search: Posts Made By: jwk1230
2,727
Posted By jwk1230
Grab first or second line after a search string
In a shell script, I need to grab the first or second line after a search string in a file. For example:

File.out:

Random Info
Manufacturer: XYZPDQ

System Info
Manufacturer: ...
Showing results 1 to 1 of 1

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