Re: Claiming a binary name used in Sarge but not in Etch.
Le Sat, Mar 17, 2007 at 01:02:46PM -0400, Justin Pryzby a écrit :
> On Sat, Mar 17, 2007 at 08:12:47PM +0900, Charles Plessy wrote:
> > Le Sat, Mar 17, 2007 at 12:00:20PM +0100, Florent Rougon a écrit :
> > > Charles Plessy <firstname.lastname@example.org> wrote:
> > >
> > > > #!/bin/sh
> > > > echo -e "AMAP is now available under /usr/bin/amap.\nThis wrapper (/usr/bin/amap-align) will be removed in the future."
> > > > exec /usr/bin/amap "$@"
> > >
> > > 'echo -e' is not specified by POSIX. If you want to use escapes such as
> > > \n, you'd better use printf instead of echo.
> > Thanks a lot, I will use one echo per line.
> set -e
> echo "first line"
> echo "second line"
> } >&2
Oh, this is something I did not think about. But what is the set -e
Have a nice day,