Re: bug in echo util

[email protected] (Bob Proulx) Fri, 1 Nov 2002 19:32:07 -0700
Newsgroups gmane.comp.gnu.sh-utils.bugs
Message-ID <[email protected]>
Andrew Skiba <[email protected]>:

> Bob Proulx <[email protected]> [2002-10-30 16:28:08 -0700]:
> > > 	$ unset POSIXLY_CORRECT 
> > > has no effect. 
> > 
> > I am not aware of any effects of POSIXLY_CORRECT on the behavior of
> > echo.  Other commands do have behavior changes based upon the setting
> > of that variable, however.  But not all.

> I looked at source code "echo.c" and POSIXLY_CORRECT is checked there
> before doing --version and --help job. So, it may be worth to check
> the man issue, anyway. I mean, if POSIXLY_CORRECT affects the echo
> command, it has to be documented in "man echo".

Hmm...  Perhaps not required in 'man echo' since that is maintained
only from the output of --help and is meant as a syntax guide.  But
certainly in the info pages and I could find no mention of it there.
I will file a bug against the documenation.

Thanks
Bob