[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patches] Fix cross testing for posix/globtest.out

On Fri, 20 Apr 2007, Jim Blandy wrote:

> Thanks for fixing this.  I'm surprised that printf is more portable
> than echo -n, but I see now that it is so.

Differences between different implementations of echo (regarding handling 
of arguments starting with "-" or containing "\") are part of the POSIX 
(1992) rationale for adding the printf utility.

> Wouldn't printf '"' work just as well?


Joseph S. Myers