[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: configure fails on Maemo/OS2008 (sed: no previous regexp)
From: |
Andreas Schwab |
Subject: |
Re: configure fails on Maemo/OS2008 (sed: no previous regexp) |
Date: |
Sat, 22 Mar 2008 10:11:28 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) |
Jim Meyering <address@hidden> writes:
> $ busybox sed -n '/^g''l_INCLUDE_EXCLUDE_PROG(.* \[\(.*\)\])/{s//\1/;s/,/ /gp
> }' configure.ac
> sed: No previous regexp.
> [Exit 1]
>From (autoconf)Limitations of Usual Tools::
Commands inside { } brackets are further restricted. Posix says
that they cannot be preceded by addresses, `!', or `;', and that
each command must be followed immediately by a newline, without any
intervening blanks or semicolons. The closing bracket must be
alone on a line, other than white space preceding or following it.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Re: configure fails on Maemo/OS2008 (sed: no previous regexp), Elbert Pol, 2008/03/24