Steve Long wrote:
>> Is [[:alpha:]] locale-safe?
>>
> Yes, all POSIX character classes listed here are:
> http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html

Thanks for a nice link. If I read section 7.3.1 correctly, [[:alpha:]]
always contains those letters, but might contain more, depending on the
locale. So it's probably very minor point, but as long as the script
runs with user-provided locale, one should be explicit here. Or am I
missing something here?

Cheers,
-jkt

-- 
cd /local/pub && more beer > /dev/mouth

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to