Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: perform expansion for precommand modifiers
- X-seq: zsh-workers 41019
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: PATCH: perform expansion for precommand modifiers
- Date: Thu, 27 Apr 2017 16:12:59 -0700
- 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; bh=B3LwcsVoxMJk0M3htGfU73USbjjUn3f/NVMQkertdBM=; b=yb3UV0npcH2W7Wvz8HeImJMbT73k9ciCBAU04pDD67+PuM6/0poEgiDIYUpioJd1Lq BCDNSREPoOVydH0o3PFc+/O80i2qxz/1lPlspssszc5EY6ZYIjyVbhmMWTdxXes4HGFn d6nJH/sB6J56uW11RdOJqGpxudEJF6DQO48o22BpUSIWgN76odo1J2Kk4d+HJDMM0Yae bDJVOXSD3kbuzDCgBcOpYQC2SaNecvl7rcNfwwCR1yezs4JISZNiopdLWq3jsI6s2Qmo h4jcj5tQIGsqKDSk3qiFfmPtXXzpP7A/WXtRm4WbTV3Ncah6GIeriAGn20ELjVv0FaKP 0CVQ==
- In-reply-to: <20170427094018.27eafa6a@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: <CGME20170425091533eucas1p26af70366557848059af3b7c8957f1d55@eucas1p2.samsung.com> <20170425101520.23910ede@pwslap01u.europe.root.pri> <20170426194517.GA12961@fujitsu.shahaf.local2> <170426142508.ZM19385@torch.brasslantern.com> <20170427094018.27eafa6a@pwslap01u.europe.root.pri>
On Apr 27, 9:40am, Peter Stephenson wrote:
}
} + (\exec /bin/sh -c 'echo Test one'; print Not reached)
} + ('exec' /bin/sh -c 'echo Test two'; print Not reached)
} +0:exec with quotes
} +>Test one
} +>Test two
This isn't testing the right thing. The complaint was that the -c option
of exec was treated as a command name if the keyword was quoted.
Similarly for "command -p" which now that I try it is still broken:
torch% \command -p echo
zsh: command not found: -p
Messages sorted by:
Reverse Date,
Date,
Thread,
Author