Jan Kundrát wrote: > Donnie Berkholz wrote: >>> if [[ -n "${ver}" ]] && [[ ${ver//[a-zA-Z-]} != "${PV//[a-zA-Z]}" ]] ; >>> then >> >> It isn't terribly likely to become an issue here, but it might be nicer >> to use [[:alpha:]] than [a-zA-Z]. > > Is [[:alpha:]] locale-safe? > Yes, all POSIX character classes listed here are: http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html
-- [EMAIL PROTECTED] mailing list