What is Nostr?
Matthew
npub1hrj…3ft3
2024-08-30 13:40:36

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.


sed 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”.
Author Public Key
npub1hrjtmuryqz82hxzpvv5ulrcxxgrw42afax8n7d9cnnz0zrrq44tqpv3ft3