Search Results

Search: Posts Made By: jnojr
6,291
Posted By jnojr
sed read X lines after match
I want to do something like sed -n '/PATTERN/,+10p' and get the ten lines following PATTERN. However, this throws an "expected context address" with the sed that comes with OSX Lion. If that + is a...
Showing results 1 to 1 of 1

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