Changes

From Amahi Wiki
Jump to: navigation, search
* Insert line based on text1 (Previous Line)
sed -i '/text1/ i\text2' /filename;
* Insert line at line number 3
sed '2 aappended line' filename;
* Patch Comment:
# FIXME - this needs to be hosted in dl.amahi.org prior to going live!
12,424

edits