insert new line using SED - TechRepublic
General discussion
July 15, 2004 at 07:50 AM
stevelil

insert new line using SED

by stevelil . Updated 21 years, 8 months ago

As part of a script, I need to:
Search a file for a string.
Extract part of that string.
Use that part string in a new line.
Insert that new line just before the original line.

This discussion is locked

All Comments