From: Mike Frysinger <vapier@gentoo.org>
To: dash@vger.kernel.org
Subject: fail to expand/assigned subshell output into a local variable
Date: Thu, 8 Nov 2007 18:07:17 -0400 [thread overview]
Message-ID: <200711081707.17944.vapier@gentoo.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 108 bytes --]
this code snippet incorrectly fails under dash:
$ { local f=$(date); }
local: 5: 8: bad variable name
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 827 bytes --]
next reply other threads:[~2007-11-08 22:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-08 22:07 Mike Frysinger [this message]
2007-11-08 22:27 ` fail to expand/assigned subshell output into a local variable Oleg Verych
2007-11-08 23:01 ` Oleg Verych
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=200711081707.17944.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