Subject: Re: echo -e flag
To: Bruce J.A. Nourish <bjan+tech-userlevel@bjan.net>
From: Quentin Garnier <netbsd@quatriemek.com>
List: tech-userlevel
Date: 09/07/2003 22:24:16
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) ?

-- 
Quentin Garnier - cube@cubidou.net
"Feels like I'm fiddling while Rome is burning down.
Should I lay my fiddle down and take a rifle from the ground ?"
Leigh Nash/Sixpence None The Richer, Paralyzed, Divine Discontents, 2002.