Re: Claiming a binary name used in Sarge but not in Etch.

2007-03-17 Thread Justin Pryzby
On Sun, Mar 18, 2007 at 09:50:16AM +0900, Charles Plessy wrote: > 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 <[E

Re: Claiming a binary name used in Sarge but not in Etch.

2007-03-17 Thread Roberto C . Sánchez
On Sun, Mar 18, 2007 at 09:50:16AM +0900, Charles Plessy wrote: > > Oh, this is something I did not think about. But what is the set -e > doing? > Every script you write should include set -e at the top. This tells bash that it should exit the script if any statement returns a non-true

Re: Claiming a binary name used in Sarge but not in Etch.

2007-03-17 Thread Charles Plessy
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 <[EMAIL PROTECTED]> wrote: > > > > > > > #!/bin/sh > > > > echo -e "AMAP i

Re: Claiming a binary name used in Sarge but not in Etch.

2007-03-17 Thread Justin Pryzby
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 <[EMAIL PROTECTED]> wrote: > > > > > #!/bin/sh > > > echo -e "AMAP is now available under /usr/bin/amap.\nThis wrapper > > > (/usr/bin/amap-align

Re: Claiming a binary name used in Sarge but not in Etch.

2007-03-17 Thread Emmanuel le Chevoir
Charles Plessy a écrit : #!/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 "$@" I am just wondering if the quotes around $@ are necessary... indeed, they are: $ cat quotes.sh #! /bin/sh for i

Re: Claiming a binary name used in Sarge but not in Etch.

2007-03-17 Thread Charles Plessy
Le Sat, Mar 17, 2007 at 12:00:20PM +0100, Florent Rougon a écrit : > Charles Plessy <[EMAIL PROTECTED]> 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'

Re: Claiming a binary name used in Sarge but not in Etch.

2007-03-17 Thread Florent Rougon
Charles Plessy <[EMAIL PROTECTED]> 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

Re: Claiming a binary name used in Sarge but not in Etch.

2007-03-16 Thread Charles Plessy
Le Sat, Mar 10, 2007 at 09:09:23AM -0500, Justin Pryzby a écrit : > A NEWS entry isn't unreasonable. Supporting the old binary might be > nice; a wrapper with a warning rather than a symlink is extra friendly. > Be sure to use "exec" as the last line of a wrapper script to remove > unnecessary me

Re: Claiming a binary name used in Sarge but not in Etch.

2007-03-10 Thread Justin Pryzby
On Sat, Mar 10, 2007 at 12:32:29PM +0900, Charles Plessy wrote: > Dear mentors, > > When I created the package amap-align (bioinformatics), there was a > already a program called "amap" in Debian. Therefore, I renamed the > binary program of my package. However, the old amap package has been > rem

Claiming a binary name used in Sarge but not in Etch.

2007-03-09 Thread Charles Plessy
Dear mentors, When I created the package amap-align (bioinformatics), there was a already a program called "amap" in Debian. Therefore, I renamed the binary program of my package. However, the old amap package has been removed from Etch, so I would like to know if it is possible to provide our use