Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Parsing error on parsing 'A=1 time'
- X-seq: zsh-workers 44439
- From: Emil Gedda <emil.gedda@xxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Parsing error on parsing 'A=1 time'
- Date: Thu, 20 Jun 2019 10:14:58 +0000
- Accept-language: en-US
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=emil.gedda@xxxxxx;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ef.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ib7ie2LLU7c0WrGOrL0cakdrXOsPc5Q8FQVxotibSFc=; b=bg0HEBp0hg6iMyvx5y2d2pXK0FpsHzkPmbsyhXGzg2fUQGlbFJz5AQlHCd3be/DmHOOFN+wT0vryBtBUOc0PSLd3XX/IgtNTe/5kU1jFtKGmUJDhiBrQNv1r1L3aZzZi4woFskMNl6tecuZXg7yGqeVrgl+mBRMlyZhN/tSm8bg=
- 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
- Thread-index: AQHVJ1EDjamCoUVxL0OOOhqfrxaeAw==
- Thread-topic: Parsing error on parsing 'A=1 time'
$ zsh -c 'A=1 time'
zsh:1: parse error near `time'
Compared to:
$ zsh -c 'A=1; time'
shell 0.00s user 0.01s system 295% cpu 0.003 total
children 0.00s user 0.00s system 0% cpu 0.003 total
This seems to be specific to the time builtin when prepended with a env var
assignment, echo works properly. Could not find a ticket related to this on
sourceforge, my apologies if it has been reported before.
zsh 5.7.1 (x86_64-apple-darwin17.7.0)
Cheers,
Emil
Messages sorted by:
Reverse Date,
Date,
Thread,
Author