GNU bug report logs - #10394
Bug in tr command

Previous Next

Package: coreutils;

Reported by: Raj Kambli <rkambli <at> yahoo.com>

Date: Thu, 29 Dec 2011 05:18:02 UTC

Severity: normal

Tags: notabug

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Raj Kambli <rkambli <at> yahoo.com>
To: 10394 <at> debbugs.gnu.org
Subject: bug#10394: Bug in tr command
Date: Wed, 28 Dec 2011 18:29:33 -0800 (PST)
[Message part 1 (text/plain, inline)]
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
[raj <at> rajvista ~]$ echo "Raj" | tr "[[:alpha:]]" "[[:lower:]]"
tr: misaligned [:upper:] and/or [:lower:] construct


#2--Ok

[raj <at> rajvista ~]$ echo "Raj" | tr "[[:upper:]]" "[[:lower:]]"
raj
[raj <at> rajvista ~]$ 



[raj <at> rajvista ~]$ 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.
[Message part 2 (text/html, inline)]

This bug report was last modified 13 years and 149 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.