Did you know? The / is the default delimiter in sed, but it can be any character other than a backslash (/) or newline (\n) can be used instead of a slash (/) to delimit the regex and the replacement. See https://www.cyberciti.biz/faq/how-to-use-sed-to-find-and-replace-text-in-files-in-linux-unix-shell/ for more info. #linux #unix #macos #freebsd #opensource
@nixCraft
Uhm... to my understanding, backslash is not "/". And I can't test it right now, but I don't think that the backslash-example in the picture would work.
@nixCraft
Tricky little character... If I type a message with a backslash in my Mastodon client (#Fedilab), it doesn't show up in the post. It reappears when I edit the post. Don't know what other clients make of it, so I deleted it from my message.