Hi again! > The LC_COLLATE=C option is tested and works as expected in sh.
Justin Pryzby was still right and I was wrong. I tried again, and it needs to be LC_ALL=C as Justin said. Sorry for multiple e-mails. This should be the last version of the patch from my part. -- Juhan Ernits
117c117,118 < echo "$*" | sed -e 's/[^A-Za-z0-9_]/_/g' --- > # A-Z is not full alphabet in all locales (e.g. in et_EE) > echo "$*" | LC_ALL=C sed -e 's/[^A-Za-z0-9_]/_/g' 320a322,323 > # this is to make the case patterns work as expected in all locales > LC_ALL=C