6 ms·sed s/baz/baz\\nelephants/by KC8ZKF 8y agosed s/baz/baz\\nelephants/shabble 8y agothat doesn't match the indentation on the subsequent line though, does it?yani 8y agoYou are missing the dash that the line starts withKC8ZKF 8y agosed -i.bak s/baz/"baz\\n - elephants"/ *.txtbewuethr 8y agoThe article says that the indentation can be two or four spaces, though.