Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh portable script
- X-seq: zsh-users 15181
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: zsh portable script
- Date: Mon, 12 Jul 2010 18:47:11 +0200
- In-reply-to: <20100712163945.GQ1499@xxxxxxxxxxxxxxxxxxx> (Vincent Lefevre's message of "Mon, 12 Jul 2010 18:39:45 +0200")
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <1007130241570.5546@smasher> <201007121737.21296.joke@xxxxxxxxx> <201007121745.20332.joke@xxxxxxxxx> <20100712161519.GO1499@xxxxxxxxxxxxxxxxxxx> <B8515879-B7F7-460E-8E2B-48B3335E686B@xxxxxxxxxxx> <20100712163945.GQ1499@xxxxxxxxxxxxxxxxxxx>
Vincent Lefevre wrote:
> Note that "$@" alone is not portable, as if there are no arguments,
> some shells replace it by "" (any reference?). Hence the ${1+"$@"}.
<http://www.in-ulm.de/~mascheck/various/bourne_args/>
Regards, Frank
Messages sorted by:
Reverse Date,
Date,
Thread,
Author