bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10394: Bug in tr command


From: Raj Kambli
Subject: bug#10394: Bug in tr command
Date: Wed, 28 Dec 2011 18:29:33 -0800 (PST)

Dear GNU,

Not sure if this is bug. But I think first one is legal command that is 
logically similar to second which works



Thank you,
Raj.


#1-- Error
address@hidden ~]$ echo "Raj" | tr "[[:alpha:]]" "[[:lower:]]"
tr: misaligned [:upper:] and/or [:lower:] construct


#2--Ok

address@hidden ~]$ echo "Raj" | tr "[[:upper:]]" "[[:lower:]]"
raj
address@hidden ~]$ 



address@hidden ~]$ tr --version
tr (GNU coreutils) 6.12
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Jim Meyering.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]