[Toybox] sed s/pattern/\<newline>/

Felix Janda felix.janda at posteo.de
Thu Jan 8 13:38:00 PST 2015


sed doesn't allow embedded newlines in the replacement for s///, e.g.

s/walrus/wal\
rus/

It is not obvious to me how to fix this. There is some code for dealing
with line continuations but I don't see how to use it.

Felix


More information about the Toybox mailing list