Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Conditional Bug?



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