Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Conditional Bug?
- X-seq: zsh-users 12133
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Conditional Bug?
- Date: Mon, 29 Oct 2007 17:17:33 +0000
- In-reply-to: <87zly1onr2.fsf@xxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <87fxzuou1b.fsf@xxxxxxxxxxxxxxxxxxxxxxxx> <200710291503.l9TF3Tt9018661@xxxxxxxxxxxxxx> <87zly1onr2.fsf@xxxxxxxxxxxxxxxxxxxxxxxx>
Joel J. Adamson wrote:
> Okay, I've done some more testing and found that the problem is with
> my parameter assignment. In the tar invocation, I need all the
> filenames submitted in the command, and various combinations of $* and
> $@ with and without quotes don't seem to work: they either use the
> whole list as a single argument, which brought up the error I
> originally posted, or only use the first directory (~/ado in my
> example).
>
> What is the proper way to refer to all command line arguments?
You probably want "$@", but I don't really understand what you mean by
"not working", since they do :-).
See if this part of the users' guide helps:
http://zsh.sunsite.dk/Guide/zshguide03.html#l50
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author