Changes

From Amahi Wiki
Jump to: navigation, search
* Insert line based on text1 (Previous Line)
sed -i '/text1/ i\text2' /filename;
* Insert line text at line number 3
sed '2 aappended line' filename;
* Patch Comment:
12,424

edits