Search Results

Search: Posts Made By: nick26
18,197
Posted By nick26
Using Sed to duplicate a section of a file....
hello all,
I have a file like this:
section 1
blah1
blah2
section 2
blah1
blah2
section 3
blah1
blah2
and I want to use sed to duplicate section 2, like this:
section 1
blah1
blah2...
Showing results 1 to 1 of 1

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