Matthew on Nostr: "in stream editing" a really interesting concept. It can be applied to audio and ...
"in stream editing" a really interesting concept. It can be applied to audio and video, too, but a bit more complicated than text.
quoting nevent1q…sqdksed is a text editor. Specifically it’s a non-interactive editor for text streams. It’s meant to be used as part of a pipeline that processes text. It can do many types of edit, but the one I use most is basically “find and replace”.
sed -e ‘s/foo/bar/g’ < infile.txt > outfile.txt
will make outfile.txt a copy of infile.txt with all instances of “foo” replaced with “bar”.