Why Nostr? What is Njump?
2025-04-02 21:01:52

Justine Smithies on Nostr: Ok #FreeBSD folk I'm having a wee issue converting a sed line in one of my scripts ...

Ok #FreeBSD folk I'm having a wee issue converting a sed line in one of my scripts from Linux to FreeBSD. The command in question is sed -z 's/\n/\\n/g' but in FreeBSD there is no -z option.
What would be a work around or similar ?
Thanks in advance.
Author Public Key
npub1w65rptwmg7gr50yqjdmje49s8kfk4e95hwqgzr2zqpfynjzt29lq0z6kyw