Couple possible bugs in echo
Robb Oliver <[email protected]> Wed, 19 Jun 2002 10:22:20 -0400
| Newsgroups | gmane.comp.gnu.sh-utils.bugs |
|---|---|
| Message-ID | <B9360BDC.CF7%[email protected]> |
Hello all, In debugging a customer's issue with an install script my company uses we found that echo on our RH Linux 7.1 machine wasn't behaving the same as the rest of the unix flavors. As I investigated I found that if you issue the following command at a shell: # echo "-n" You get no output. I noticed that if you attempt to echo any of he options listed in the man page for echo they will be interpreted as options and not as the string you want to echo. I can't be sure if this is a bug or if there is some subtlety I am missing. I would include the version of echo I was using but that brings me to my second possible bug. When I type: # echo --version To get the version it echos --version The man page is for sh utils 2.0 if that helps. Is this a bug or am I missing something? Robb Oliver [email protected]