Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: BUG? Sh_word_split triggered in the supposed to be implicitly quoting [[-cond
- X-seq: zsh-workers 44893
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: <zsh-workers@xxxxxxx>
- Subject: Re: BUG? Sh_word_split triggered in the supposed to be implicitly quoting [[-cond
- Date: Tue, 5 Nov 2019 13:28:02 +0000
- Cms-type: 201P
- Dkim-filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20191105132803euoutp02e75be3a39cb5eefc5953593126822a63~URznlJZLF1692716927euoutp02q
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1572960483; bh=7wcWrlSrURuFv0xzWvNznMgTx59K3BkUqa9+tiaa8cs=; h=Subject:From:To:Date:In-Reply-To:References:From; b=deZPmbCGBnhstQZAnQSFUaZsLKJaA3bZg34mIZ9hoovd9xyTER+OWLh3phuPeySHp lYEcW6ChwyIM8mHMzWAXGVBxEBoeOulecn3xjt708pPjJaoYoFm/hPUTafh9dccst6 LP3mQsmctzUpZCfYARjpPBCSTvS0w5P2CNj7kHUs=
- In-reply-to: <CAKc7PVA9h3P5PygBHS6gTZWdsN0OZTMAoFh3diTRm-Q-DC6u5A@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CGME20191105122344eucas1p28f4ea02d36275648e2734e6ff6f1ef0e@eucas1p2.samsung.com> <CAKc7PVA9h3P5PygBHS6gTZWdsN0OZTMAoFh3diTRm-Q-DC6u5A@mail.gmail.com>
On Tue, 2019-11-05 at 13:22 +0100, Sebastian Gniazdowski wrote:
> Question: doesn't using [[ mean that the arguments are quoted ->
> shwordsplit is inactive?
Only quotes mean that arguments are quoted.
The complication is that there is a context where we don't split the
argument because we know a single word is needed. That's not the same
as forcing quoted semantics, however. Use explicit quotes for that.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author