Re:Batch editing files with ed
by yani on Saturday May 12, 2018 @03:39PM
(#17055645)
You are missing the dash that the line starts with
[ Parent
| on HN ]
sed -i.bak s/baz/"baz\\n - elephants"/ *.txt