I have files like:
text2insert
filewithpattern
and also known:
pattern
How can i insert lines from text2insert
into filewithpattern
but after the pattern
line?
Using bash 2.05b
UPDATE:
Before filewithpattern
should look like:
garbage
pattern1
pattern2
garbage
and after:
garbage
pattern1
text2insert lines
text2insert lines
text2insert lines
pattern2
garbage