It _is_ a bash bug. diff --git a/lib/sh/casemod.c b/lib/sh/casemod.c index 3127d8c..d58b216 100644 --- a/lib/sh/casemod.c +++ b/lib/sh/casemod.c @@ -227,8 +227,8 @@ sh_modcase (string, pat, flags) { default: case CASE_NOOP: nwc = wc; break; - case CASE_UPPER: nwc = TOUPPER (wc); break; - case CASE_LOWER: nwc = TOLOWER (wc); break; + case CASE_UPPER: nwc = _to_wupper (wc); break; + case CASE_LOWER: nwc = _to_wlower (wc); break; case CASE_TOGGLEALL: case CASE_TOGGLE: nwc = TOGGLE (wc); break; }
Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."