> [jbj@wellfleet popt]$ /bin/echo --foo --bar
> [jbj@wellfleet popt]$ /bin/echo -- --foo --bar
> --foo --bar
> Heh, I believe the answer starts to become clearer:
> The echo(1) from Fedora coreutils-6.10-4.fc9.i386 dares to be
> The root cause is what I needed to understand. Thanks for the
That is not cool (swallowing the first long option), especially
since the echo built in to bash continues to work as it has.
I also observe this behavior on F8.
On the other hand, not emitting the -- seems reasonable, since
it generically has the meaning "this signals the end of the options".
(And no, that's not how it works anywhere else, including
bash and ksh's echo on F8).
Received on Sun Mar 9 18:40:01 2008