Subject: Re: echo -e flag
To: None <tech-userlevel@netbsd.org>
From: Bruce J.A. Nourish <bjan+tech-userlevel@bjan.net>
List: tech-userlevel
Date: 09/07/2003 13:33:45
On Sun, Sep 07, 2003 at 10:24:16PM +0200, Quentin Garnier wrote:
> Le Sun, 7 Sep 2003 13:18:51 -0700
> Bruce J.A. Nourish a ecrit :
> > I'm creating a package for some software that under some 
> > circumstances requires the use of the "-e" flag to echo. This
> > flag seems to have been invented by the GNU people:
> > 
> >    -e     Enable interpretation of the  following  backslash-
> >           escaped characters in the strings:
> [...]
> > I was wondering if anyone would approve of me adding this functionality
> > to echo(1). The only other alternative I have is to make the package
> > depend on GNU coreutils, which is a massive overkill for a puny little
> > echo flag.
> 
> Couldn't you change it to use printf(1) ?

I thought about that not long after I wrote the original post. GNU
coreutils does provide a compatible printf, so I think I'll submit
a bug to the maintainers. 

-- 
Bruce J.A. Nourish <bjan+JUNK@bjan.net>