Subject: Re: libtools patch for Linux/dash
To: None <>
From: Aleksey Cheusov <>
List: tech-pkg
Date: 09/02/2006 18:25:53
> On Sat, Sep 02, 2006 at 12:24:46AM +0100, David Laight wrote:
 >> On Fri, Sep 01, 2006 at 04:17:58PM +0200, Joerg Sonnenberger wrote:
 >> > 
 >> > Well, continue reading. Either the shell or the echo builtin is
 >> > expanding \1 incorrectly. echo is not supposed to expand anything, so it
 >> > has to be the shell. In either case, it is a major violation of SUS.
 >> You'll find that there are two definitions for 'echo', the BSD one and
 >> the SYSV one.  The latter will convert some \x escape sequences.

> Sure, but what SUS specifies is a bare-bone echo -- no options (not even
> -n) and certainly not any modifications of the argments.

No. Unfortunately it defines it in a completely different way

It is better to not use 'echo' at all, never.

Best regards, Aleksey Cheusov.