Jim Meyering wrote: > "James Youngman" <[EMAIL PROTECTED]> wrote: > >> On Jan 5, 2008 11:34 PM, Jim Meyering <[EMAIL PROTECTED]> wrote: >>> diff --git a/NEWS b/NEWS >>> index 5285d51..5b1b366 100644 >>> --- a/NEWS >>> +++ b/NEWS >>> @@ -2,6 +2,12 @@ GNU coreutils NEWS -*- >>> outline -*- >>> >>> * Noteworthy changes in release 6.? (????-??-??) [?] >>> >>> +** Bug fixes >>> + >>> + tr's case conversion would fail in a locale with differing numbers >>> + of lower case and upper case characters. E.g., this would fail: >>> + env LC_CTYPE=en_US.iso88591 tr '[:upper:]' '[:lower:]' >> AIUI, that should be en_US.iso8859-1. > > Thanks for mentioning that. > Can you point to a reference, or do you know of a system on which that > works but the other doesn't? I chose the name from the output of > "locales -a".
en_US.iso88591 looks to be the canonicalized internal name. I.E. lower-cased and with all '-' stripped. For example the following does not generate errors: LANG=en_US.iSo-8-859-1 locale >/dev/null I would suggest using the format as specified in locale.alias, i.e. en_US.ISO-8859-1 Pádraig. _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils