Re: tr '[:upper:]' '[:lower:]' -- misaligned construct

2008-01-05 Thread Jim Meyering
Gerald Pfeifer <[EMAIL PROTECTED]> wrote: > I've been using tr '[:upper:]' '[:lower:]' for a while, but with > version 6.9.90 (and 6.9.91) I know get the following hard error: > > [EMAIL PROTECTED]:~> echo 'AbCd' | tr '[:lower:]' '[:upper:]' > ABCD > > [EMAIL PROTECTED]:~> echo 'AbCd' | tr

Re: tr '[:upper:]' '[:lower:]' -- misaligned construct

2008-01-05 Thread James Youngman
On Jan 5, 2008 9:01 AM, Jim Meyering <[EMAIL PROTECTED]> wrote: > > That machine is running in an ISO-8859 locale on openSUSE 11.0 FACTORY: I can reproduce the problem on Debian (Lenny; version 2.7-3 of the locales package with LANG=en_US.iso-8859-1). > That locale definition has 3 more upper-cas

Re: tr '[:upper:]' '[:lower:]' -- misaligned construct

2008-01-05 Thread Jim Meyering
Jim Meyering <[EMAIL PROTECTED]> wrote: > Gerald Pfeifer <[EMAIL PROTECTED]> wrote: >> I've been using tr '[:upper:]' '[:lower:]' for a while, but with >> version 6.9.90 (and 6.9.91) I know get the following hard error: >> >> [EMAIL PROTECTED]:~> echo 'AbCd' | tr '[:lower:]' '[:upper:]' >> A

document chgrp: changing group of `m': Operation not permitted

2008-01-05 Thread jidanni
Hope the chgrp and chown docs mention some operating systems don't let just anyone just change to any group... chgrp: changing group of `m': Operation not permitted version 5.97 ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/m

Re: document chgrp: changing group of `m': Operation not permitted

2008-01-05 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to [EMAIL PROTECTED] on 1/5/2008 8:33 AM: | Hope the chgrp and chown docs mention some operating systems don't let | just anyone just change to any group... | chgrp: changing group of `m': Operation not permitted Yes, the docs do mention th

Re: tr '[:upper:]' '[:lower:]' -- misaligned construct

2008-01-05 Thread Jim Meyering
Thanks again. My tentative patch introduced a bug (see the tests). Here's the fix I've just pushed: Avoid tr case-conversion failure in some locales. * src/tr.c (skip_construct): New function. (main): When processing a pair of case-converting classes, don't iterate

Re: tr '[:upper:]' '[:lower:]' -- misaligned construct

2008-01-05 Thread James Youngman
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.? (-??-??) [?]