RPM Community Forums

Mailing List Message of <popt-devel>

echo incompatibility (was Re: Allow equal after a short option)

From: Wayne Davison <wayned@samba.org>
Date: Sun 09 Mar 2008 - 23:22:48 CET
Message-ID: <20080309222248.GB9986@herod.dreamhost.com>
On Sun, Mar 09, 2008 at 10:51:42AM -0400, Jeff Johnson wrote:
> [jbj@wellfleet popt]$ /bin/echo --foo --bar
> --bar
> [jbj@wellfleet popt]$ /bin/echo -- --foo --bar
> --foo --bar

OK, Let's hope that your echo will not drop anything if the first arg
passed to it is a non-option (such as "args:").  If so, the attached
patch should work for everyone (it does for me).


Received on Sun Mar 9 23:22:50 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.