> [EMAIL PROTECTED] popt]$ /bin/echo --foo --bar
> --bar
> [EMAIL PROTECTED] 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
different.
> The root cause is what I needed to understand. Thanks for the
patience.

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).


______________________________________________________________________
POPT Library                                           http://rpm5.org
Developer Communication List                       [email protected]

Reply via email to