DASH Shell discussions
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: dash@vger.kernel.org
Subject: export + default value parameter expansion -> broken dash parser
Date: Sun, 1 Nov 2009 16:20:37 -0400	[thread overview]
Message-ID: <200911011520.38362.vapier@gentoo.org> (raw)

[-- Attachment #1: Type: Text/Plain, Size: 102 bytes --]

dash is unable to parse:
unset A; export ${A- -E}

results in:
export: 1: -E: bad variable name
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

             reply	other threads:[~2009-11-01 20:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-01 20:20 Mike Frysinger [this message]
2009-11-02 20:40 ` export + default value parameter expansion -> broken dash parser Sven Mascheck

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=200911011520.38362.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=dash@vger.kernel.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox