Re: Echo command in version 2.0 doesn't display help or version

Bob Proulx <[email protected]>
Newsgroups gmane.comp.gnu.sh-utils.bugs
Message-ID <[email protected]>
> According to the man page for echo, --help and --version will both 
> generate information from the echo command itself. However, in 
> accoring-to-the-man-page version 2.0 (included with RH 7.0), issuing the 
> command "echo --help" results in the output of "--help", and the command 
> "echo --version" results in the output of "--version".

Thanks for your report.  However I believe you are confusing the
external /bin/echo command with the internal built into the shell echo
command.  The /bin/echo does recognize those two options.

  /bin/echo --version
  echo (GNU sh-utils) 2.0

  type /bin/echo
  /bin/echo is /bin/echo

  type echo
  echo is a shell builtin

  echo --version
  --version

> Examining the binary, the expected output appears to be embedded within, 
> just not displayed.
> 
> I'm pretty sure this behavior is an actual bug, and not a user error. I'd 
> appreciate if someone could confirm or deny this.

Please read this faq entry and see if it matches your behavior.

  http://www.gnu.org/software/fileutils/doc/faq/core-utils-faq.html#I%20am%20having%20a%20problem%20with%20kill

Hope that helps
Bob

_______________________________________________
Bug-sh-utils mailing list
[email protected]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.