[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: config.rpath has non-locale-friendly sed
From: |
Andreas Schwab |
Subject: |
Re: config.rpath has non-locale-friendly sed |
Date: |
Mon, 07 Feb 2005 11:28:28 +0100 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
Mike Frysinger <address@hidden> writes:
> sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
>
> that should really be [[:alnum:]_] shouldnt it ?
No. This notation is not supported by all seds, and [a-zA-Z0-9_] will
always be a superset of the desired set of characters and there is no
danger of matching too much.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."