News for hackers. Stuff that matters.
Re:Implementations of Cat(1) from Various Sources (2018) by im3w1l on Sunday January 19, 2020 @09:14AM (#22091513)
The plan9 one is short and sweet, but what I don't like is that it doesn't support the dashdash thing that unambiguously marks that rest of the arguments should be interpreted as files and not flags. Needed for reliable defensive shell scripts imo.

You may say "it has no options anyway" but other cats do. And you may want to add options in a future version.

Re:Implementations of Cat(1) from Various Sources (2018) by Someone on Sunday January 19, 2020 @11:15AM (#22092161)
I thought that’s a GNU-ism that wasn’t in POSIX, but https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1... taught me differently.

Now I think it made it into POSIX only fairly recently (corrections welcome)

(it is a good idea, though)