News for hackers. Stuff that matters.
Re:Moreutils – Unix tools that nobody thought to write (2012) by gpanders on Saturday August 22, 2020 @02:03PM (#24245928)
That works when specifying a backup extension, but not if you don’t want to create a backup file.

    sed -i ‘’ ...
works on BSD sed but not GNU. Meanwhile:

    sed -i’’ ...
    sed -i ...
both work on GNU but not BSD.
Re:Moreutils – Unix tools that nobody thought to write (2012) by bewuethr on Sunday August 23, 2020 @03:38PM (#24254654)
Well, yes, you can't use it without creating a backup file, but it uses "-i" and is portable.