From: Marc Kleine-Budde <mkl@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] configure failed with sed version 4.2.2
Date: Thu, 31 Jul 2014 10:34:07 +0200 [thread overview]
Message-ID: <53D9FF7F.6020409@pengutronix.de> (raw)
In-Reply-To: <CAKNcqrjQ7-ALHPKfnFsv21ser-amgsX1YST84X9sN4w9n4Fryg@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1001 bytes --]
On 07/29/2014 04:39 PM, Kristof Verdonck wrote:
> I'm using an ancient ptxdist, but that doesn't matter because I'm
> isolating the SED-version check.
>
> If I run the regex
> from http://git.pengutronix.de/?p=ptxdist.git;a=blob;f=configure.ac;h=22c8df03a8c225514a3df7ba4c9fb29c515c3e24;hb=HEAD
> sed --version 2>/dev/null | sed -ne "1 s/.*GNU.*\s\([[0-9\+\.]]\+\).*/\1/p"
> then it returns empty, both with sed 4.2.1 and 4.2.2.
Are you using the unmodified regex from the configure.ac in the shell?
Try this instead:
sed --version 2>/dev/null | \
sed -ne "1 s/.*GNU.*\s\([0-9\+\.]\+\).*/\1/p"
Note: '[' vs. '[[', as you have to quote '[' in configure.ac, as it's
processed by m4.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 242 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2014-07-31 8:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAKNcqrgFfFzNuxhi8nJBXjoHq9Lmh8t6WFau_uA3gOQQax1H6A@mail.gmail.com>
2014-07-29 13:20 ` Marc Kleine-Budde
2014-07-29 14:39 ` Kristof Verdonck
2014-07-31 8:34 ` Marc Kleine-Budde [this message]
2014-07-31 14:53 ` Kristof Verdonck
2013-01-07 14:19 Alexander Aring
2013-01-07 16:38 ` Marc Kleine-Budde
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=53D9FF7F.6020409@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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