bug-bash
[Top][All Lists]
Advanced

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

Re: asking for a better way to implement this


From: Christopher Roy Bratusek
Subject: Re: asking for a better way to implement this
Date: Mon, 27 Sep 2010 18:36:31 +0200

Am Sun, 26 Sep 2010 18:09:16 -0400 (EDT)
schrieb "Chris F.A. Johnson" <chris@cfajohnson.com>:

> On Sun, 26 Sep 2010, Christopher Roy Bratusek wrote:
> 
> > btw. How can I remove the last arguement ${!#} ?
> >
> > I tried args=${@:-${!#}} but that won't work.
> 
> args=( "$@" )
> unset args[$#-1]
> set -- "${args[@]}"
> 

Thanks a lot.



reply via email to

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