GNU bug report logs - #21416
"--" syntax for ignoring flags doesn't seem to work right with GNU /bin/echo

Previous Next

Package: coreutils;

Reported by: "Robert \"Finny\" Merrill" <rfm <at> arista.com>

Date: Fri, 4 Sep 2015 19:11:02 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Robert \"Finny\" Merrill" <rfm <at> arista.com>
To: 21416 <at> debbugs.gnu.org
Subject: bug#21416: "--" syntax for ignoring flags doesn't seem to work right with GNU /bin/echo
Date: Fri, 4 Sep 2015 11:57:30 -0700
~/workspaces/diags-dev/s1 @bs360.sjc> /bin/echo --help
Usage: /bin/echo [SHORT-OPTION]... [STRING]...
  or:  /bin/echo LONG-OPTION
Echo the STRING(s) to standard output.
*snip*
~/workspaces/diags-dev/s1 @bs360.sjc> /bin/echo -- --help
-- --help
~/workspaces/diags-dev/s1 @bs360.sjc>


There doesn't seem to be a way to get /bin/echo to output the string "--help"




This bug report was last modified 9 years and 265 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.