Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: new and updated completions
- X-seq: zsh-workers 15610
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: PATCH: new and updated completions
- Date: Sat, 11 Aug 2001 15:20:45 +0100
- In-reply-to: ""Bart Schaefer""'s message of "Wed, 08 Aug 2001 15:52:28 -0000." <1010808155228.ZM922@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
"Bart Schaefer" wrote:
> On Aug 8, 12:37pm, Oliver Kiddle wrote:
> }
> } + [[ -e /etc/redhat-release ]] && args=( $args[@]
>
> There is no reason, ever, to use $args[@].
Indeed, there's no reason to use the `@' forms outside double quotes,
which is their natural habitat. There the distinction between $args and
$args[@] is important, although I tend to use ${args[@]} just for
clarity (but I tend to be inconsistent, too).
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
Work: pws@xxxxxxx
Web: http://www.pwstephenson.fsnet.co.uk
Messages sorted by:
Reverse Date,
Date,
Thread,
Author