zsh-workers
 help / color / mirror / code / Atom feed
From: "alain (a.) caron" <alainc@nortel.ca>
To: zsh-workers@math.gatech.edu
Subject: Bug in Parsing?
Date: Mon, 23 Sep 1996 14:47:00 -0400	[thread overview]
Message-ID: <"648 Mon Sep 23 14:50:14 1996"@bnr.ca> (raw)

ZSH has problems parsing the following line:

(( /bin/sh -c "ls" )& )

It replies with:

zsh: parse error near `/bin/sh -c '

ksh, bash, sh and posix-sh on the HP-UX all accept that command.

I've build ZSH-3.0.0 on HP-UX 9.05 with HP cc.

It seems that zsh does not like the outermost parenthesis.  At least,
it wants a blank between the two opening ones...  It is probably
related to the $(( construct ...

ZSH-2.6-beta21 shows the same behaviour.

This example might seem artificial but this is how our local setup is
working: we have to put in our .profile (or .zprofile in my case) the
following command:

 eval `setup`.

This setup program is supposed to set some environment variables.

The setup command is issuing a command like the faulty one.

I'll have to do eval `setup | sed ...` as a workaround.

Alain Caron
Nortel Technology, Montr?al, Qu?bec, Canada
email: alainc@nortel.ca
phone: 514-765-7718 or ESN 852-7718


                 reply	other threads:[~1996-09-23 23:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='"648 Mon Sep 23 14:50:14 1996"@bnr.ca' \
    --to=alainc@nortel.ca \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).