Re: [announce] Small skarnet.org update

From: Roger Pate <roger_at_pate.house>
Date: Fri, 11 Mar 2022 06:41:15 -0500

On Thu, Mar 10, 2022 at 8:24 PM Laurent Bercot <ska-skaware_at_skarnet.org> wrote:
> I'd rather keep s6-echo as simple and intuitive as possible - it's
> meant to write stuff to stdout and nothing else. I'm already pretty
> angry that this command exists - the only reason why s6-echo needs to
> be a thing is that no two implementations of the "echo" command do
> the exact same thing, so "echo" is unusable when you have a string
> that starts with a dash (or a string that you *don't know*, because
> it could start with a dash and yield unpredictable outcomes.)
> If it weren't for that, I would gladly scrap s6-echo. So I'm not going
> to add stuff to it and make *more* software depend on it.

Why not use printf %s\\n "$maybe_begins_with_dash" instead of s6-echo?
Received on Fri Mar 11 2022 - 12:41:15 CET

This archive was generated by hypermail 2.4.0 : Fri Mar 11 2022 - 12:42:22 CET