Search Results

Search: Posts Made By: essem
46,316
Posted By essem
The first sed command searches for the pattern...
The first sed command searches for the pattern and prints the lines after the pattern match (including the line that contains the pattern).

The second sed command (after pipe) deletes the first...
46,316
Posted By essem
My server doesn't support -A on grep. Besides,...
My server doesn't support -A on grep. Besides, the statement that I've written is already a complex one and I want to use sed as part of multiple piped commands. Using 3-4 lines of code there would...
46,316
Posted By essem
This shows the immediate next line to the...
This shows the immediate next line to the pattern. Not showing ALL the lines.
46,316
Posted By essem
Sed: printing lines AFTER pattern matching EXCLUDING the line containing the pattern
'Hi

I'm using the following code to extract the lines(and redirect them to a txt file) after the pattern match. But the output is inclusive of the line with pattern match.

Which option is...
Showing results 1 to 4 of 4

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