From: Mike Frysinger <vapier@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: bash-4.0 regression heads up (escaped semicolons in subshells)
Date: Sat, 21 Feb 2009 18:55:37 -0500 [thread overview]
Message-ID: <200902211855.37679.vapier@gentoo.org> (raw)
In-Reply-To: <20090221173855.404ebed9@halo.dirtyepic.sk.ca>
[-- Attachment #1: Type: text/plain, Size: 729 bytes --]
On Saturday 21 February 2009 18:38:55 Ryan Hill wrote:
> On Sat, 21 Feb 2009 18:27:10 -0500 Mike Frysinger wrote:
> > looks like bash-4.0 has broken semicolon escaping in subshells. this
> > comes up when using find's -exec like we do in a few places in
> > eclasses: ls=$(find "$1" -name '*.po' -exec basename {} .po \;); shift
> > you can work around the issue in a couple of ways:
> > - quote the semicolon:
> > .... ';')
> > - use backticks
> > `find .... \;`
> >
> > i'll tweak the eclasses to use quoting for now
>
> is this a bug or broken on purpose?
i say it's a bug, but i'm not the bash maintainer
i imagine it's fall out from attempts to fix support for case statements in
subshells
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 835 bytes --]
next prev parent reply other threads:[~2009-02-21 23:55 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-21 23:27 [gentoo-dev] bash-4.0 regression heads up (escaped semicolons in subshells) Mike Frysinger
2009-02-21 23:38 ` [gentoo-dev] " Ryan Hill
2009-02-21 23:55 ` Mike Frysinger [this message]
2009-02-22 0:00 ` Mart Raudsepp
2009-02-22 0:29 ` Mike Frysinger
2009-02-22 0:38 ` Mart Raudsepp
2009-02-22 0:44 ` Mike Frysinger
2009-02-22 0:54 ` Mart Raudsepp
2009-02-22 1:28 ` Mike Frysinger
2009-02-22 7:40 ` Nirbheek Chauhan
2009-02-24 15:52 ` Daniel Gryniewicz
2009-02-24 15:56 ` Mike Frysinger
2009-02-22 1:02 ` Ryan Hill
2009-02-22 22:30 ` [gentoo-dev] " Dawid Węgliński
2009-02-22 22:39 ` Mike Frysinger
2009-02-22 23:03 ` Dawid Węgliński
2009-02-23 0:00 ` Mike Frysinger
2009-02-24 4:16 ` Mike Frysinger
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=200902211855.37679.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=gentoo-dev@lists.gentoo.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