Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: x=(foo ; bar) array assignments with embedded semicolons
- X-seq: zsh-workers 37142
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: x=(foo ; bar) array assignments with embedded semicolons
- Date: Wed, 18 Nov 2015 07:47:43 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=i53rY9aRWpUlnyau9P1e9H+mvAoQofCIwIb7taUy3i0=; b=0mKq2E2YUT0mYUDPfwC/3H6xWHltbjLaJ1w59k52CLqas30ICeeLvaaMOaur/0HgPo qgrKtNfMj9rarWS0PyB8fdYjXVsQXgMtAoeElTQm/W+vCOPAQifPxzngabbQFXy5HznB EqEvBceF2aAK7X03xh1slzCftRsfzYjN+4HvkpH91vn4L6VBETuOLGbeiZ6U49FA9UTq 8RqMCWx+IJ6OhtK6MMBuFkqEQcTr0N1YsMwe1PcGZxo5wr6Dvy3wjU1vZPFNfm2EpNU0 1uvaKIUzVuu03rxZ2rkxw5+xAGCoKhuVNdj/bYhXI44K8R5bhmKcwlOgS/K22pmCF/v7 sSwg==
- In-reply-to: <20151118102032.48b63776@pwslap01u.europe.root.pri>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20151117221605.GB1845@tarsus.local2> <CAH+w=7ZATfH7XbL1APMj3H=-GBMd+1MqYwF+JoHvc=r5kL+Wew@mail.gmail.com> <20151118102032.48b63776@pwslap01u.europe.root.pri>
On Nov 18, 10:20am, Peter Stephenson wrote:
}
} I don't think it's facetious at all. Unquoted ";" is a separator,
} whether in an array or not.
Nevertheless it is a syntax error in e.g. bash to use ";" there.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author