On Tue, 27 Dec 2016 15:30:18 +0100
Laslo Hunhold <dev_AT_frign.de> wrote:
> On Tue, 27 Dec 2016 15:26:09 +0100
> Mattias Andrée <maandree_AT_kth.se> wrote:
>
> Hey Mattias,
>
> > POSIX explicitly states that echo(1) shall treat “--”
> > as a string operand and not as a delimiter. My guess
> > is that this is for historical reason, much like the
> > existence of echo(1) itself.
>
> ah now I remember, thanks. You know, sbase takes the
> liberty of moving away from Posix where consistency is a
> concern. In this case I think our result from a long
> debate was to say: Well, we just treat "--" as a normal
> string for tools that do not accept any flags.
>
> For instance, if echo does not interpret --, why doesn't
> printf also follow echo in this behaviour?
>
> Cheers
>
> Laslo
>
Okay, I personally do not agree with this and see echo(1)
as an abomination, it treats any unrecognised flags as
strings, but if had debate on it, keep to want you agreed
to.
Received on Tue Dec 27 2016 - 15:48:56 CET