This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author wdebruij
Recipients BreamoreBoy, amaury.forgeotdarc, eric.smith, wdebruij
Date 2010-09-29.00:59:26
SpamBayes Score 0.00056340883
Marked as misclassified No
Message-id <1285721972.31.0.577790127333.issue7938@psf.upfronthosting.co.za>
In-reply-to
Content
Good call. The posix regular expression character class [[:alpha:]] is apparently not as universally supported as I thought. Posix mandates it for filepath expansion[1], but that's not of much help on older and non-compliant systems. However, from what I can gather even standard Bourne accepts plain character classes ([a-z]) in its filename expansion[2]. If so, a simple fix is to rewrite it as 

-		*=*)	DEFS="$line$NL$DEFS"; continue;;
+		[a-zA-Z]*=*) DEFS="$line$NL$DEFS"; continue;;


On the other hand, your solution should also work and is actually more robust, so I'd go with that.

  willem

--
references:

[1] http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_13_01
[2] http://steve-parker.org/sh/bourne.shtml
History
Date User Action Args
2010-09-29 00:59:32wdebruijsetrecipients: + wdebruij, amaury.forgeotdarc, eric.smith, BreamoreBoy
2010-09-29 00:59:32wdebruijsetmessageid: <1285721972.31.0.577790127333.issue7938@psf.upfronthosting.co.za>
2010-09-29 00:59:27wdebruijlinkissue7938 messages
2010-09-29 00:59:26wdebruijcreate