gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] [BUG] opposite of register-archive -f


From: Andrew Suffield
Subject: Re: [Gnu-arch-users] [BUG] opposite of register-archive -f
Date: Mon, 19 Jul 2004 01:20:01 +0100
User-agent: Mutt/1.5.6+20040523i

On Sun, Jul 18, 2004 at 06:55:39PM -0400, James Blackwell wrote:
> Andrew Suffield wrote:
> > I find myself in need of an argument to register-archive that does the
> > opposite of -f: if the archive is already registered, do nothing.
> >
> > This is specifically intended for the one-argument form, where you are
> > given a URI, and want to register the archive only if it is
> > new. Otherwise it's approximately equivalent to 'whereis-archive ||
> > register-archive'.
> 
> address@hidden:~$ tla register-archive /home/jblack/{archives}/2004
> archive already registered: address@hidden
> Registering archive: address@hidden
> $
> 
> 
> I take it this doesn't work for you. Is the return code or the output
> getting in your way? 

Return code. I want that to be 'success', rather than 'failure'.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]