zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
To: zsh-workers@sunsite.auc.dk (Zsh hackers list)
Subject: Re: PATCH: new and updated completions
Date: Sat, 11 Aug 2001 15:20:45 +0100	[thread overview]
Message-ID: <20010811142051.4C70314286@pwstephenson.fsnet.co.uk> (raw)
In-Reply-To: ""Bart Schaefer""'s message of "Wed, 08 Aug 2001 15:52:28 -0000." <1010808155228.ZM922@candle.brasslantern.com>

"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@pwstephenson.fsnet.co.uk>
Work: pws@csr.com
Web: http://www.pwstephenson.fsnet.co.uk


  parent reply	other threads:[~2001-08-11 13:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-06 14:28 Oliver Kiddle
2001-08-06 14:30 ` Chmouel Boudjnah
2001-08-06 17:43   ` Borsenkow Andrej
2001-08-06 17:47     ` Chmouel Boudjnah
2001-08-08 11:37   ` Oliver Kiddle
2001-08-08 12:06     ` Chmouel Boudjnah
2001-08-08 15:52     ` Bart Schaefer
2001-08-08 17:17       ` Oliver Kiddle
2001-08-09 15:58         ` Bart Schaefer
2001-08-11 14:20       ` Peter Stephenson [this message]
2001-08-07 10:36 ` Sven Wischnowsky
2001-08-07 11:04   ` Oliver Kiddle
2001-08-08  7:19     ` Sven Wischnowsky
2001-08-08 17:23       ` Oliver Kiddle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010811142051.4C70314286@pwstephenson.fsnet.co.uk \
    --to=pws@pwstephenson.fsnet.co.uk \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).