Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Parse error with parameter assignbent and builtin time command
- X-seq: zsh-workers 44840
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Christopher Zimmermann <madroach@xxxxxxxxxx>
- Subject: Re: Parse error with parameter assignbent and builtin time command
- Date: Wed, 16 Oct 2019 12:37:02 +0200
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=L++jPTqNuBsSXgilbDTwCv2lCXdXQk1wKp8J0Mzuyu8=; b=sO1NemvX3hCPASEe7XTzWZmq9Rn7Du046uW8vR3AUjDlOMu2oltMu2dadnuIZG1aHu 1cw9zm0j7edPS94VEKWD3ih4FneWhZLqmYS4l7iyI0+zOQm+4tWB6QJ6Hh2mcXxoorpX 8JYzYlVen4JQocYLCRoeXaKiZRzEsXz5ti8/h6vXhT0xcmWeSBFRZ8asqJBFGTeYY+ec Jli1NdcjhBc90U1Pnfm9kx5vhRC0wMby5EvQta6gIa1aU0tYmDTp3UL3+hkd30hB/h+O W3HntSS/0pRQPtWU/PiCIGtfVWG86NxnGBbKjdbvyeGh2ATXirgrpGTZ/U30Uluo49uK gGTA==
- In-reply-to: <20191016095508.GA15387@mortimer.gmerlin.de>
- 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: <20191016095508.GA15387@mortimer.gmerlin.de>
On 10/16/19, Christopher Zimmermann <madroach@xxxxxxxxxx> wrote:
> Hi,
>
> I just hit this parse error:
>
> LD_LIBRARY_PATH=$HOME/src/openldap/libraries/liblmdb time
> _build/default/tests/test.exe
> zsh: parse error near `time'
>
> this worked fine:
> LD_LIBRARY_PATH=$HOME/src/openldap/libraries/liblmdb /usr/bin/time
> _build/default/tests/test.exe
>
> Is this a bug? I don't read the mailing list, so please add me CC.
'time' is a reserved word, so the correct syntax is
time foo=bar somecmd
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author