GNU bug report logs - #13295
Possible bug - tr utility

Previous Next

Package: coreutils;

Reported by: "Killen, Randy" <rkillen <at> frk.com>

Date: Fri, 28 Dec 2012 19:18:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#13295: closed (Possible bug - tr utility)
Date: Sat, 29 Dec 2012 08:27:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 29 Dec 2012 00:25:23 -0800
with message-id <50DEA8F3.7050605 <at> cs.ucla.edu>
and subject line Re: bug#13295: Possible bug - tr utility
has caused the debbugs.gnu.org bug report #13295,
regarding Possible bug - tr utility
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
13295: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13295
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Killen, Randy" <rkillen <at> frk.com>
To: "bug-coreutils <at> gnu.org" <bug-coreutils <at> gnu.org>
Subject: Possible bug - tr utility
Date: Fri, 28 Dec 2012 17:37:18 +0000
[Message part 3 (text/plain, inline)]
Hello -

I encountered the situation shown below so thought that I would report it to see if it might be a bug or is expected behavior.  Please let me know if you need additional information.

Randy


$
$ echo something | tr [:lower:] [:upper:]
SOMETHING
$ echo something | tr '[:lower:]' '[:upper:]'
SOMETHING
$
$ touch l
$ echo something | tr [:lower:] [:upper:]
tr: misaligned [:upper:] and/or [:lower:] construct
$ echo something | tr '[:lower:]' '[:upper:]'
SOMETHING
$ rm l
$
$ touch u
$ echo something | tr [:lower:] [:upper:]
tr: misaligned [:upper:] and/or [:lower:] construct
$ echo something | tr '[:lower:]' '[:upper:]'
SOMETHING
$ rm u
$
$ touch l
$ touch u
$ echo something | tr [:lower:] [:upper:]
something
$ echo something | tr '[:lower:]' '[:upper:]'
SOMETHING
$ rm l
$ rm u
$
$
$ uname -srvo
Linux 2.6.18-274.18.1.0.1.el5 #1 SMP Thu Feb 9 19:07:16 EST 2012 GNU/Linux
$ echo $SHELL
/bin/bash
$
Notice:  All email and instant messages (including attachments) sent to
or from Franklin Templeton Investments (FTI) personnel may be retained,
monitored and/or reviewed by FTI and its agents, or authorized
law enforcement personnel, without further notice or consent.
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: "Killen, Randy" <rkillen <at> frk.com>
Cc: 13295-done <at> debbugs.gnu.org
Subject: Re: bug#13295: Possible bug - tr utility
Date: Sat, 29 Dec 2012 00:25:23 -0800
Closing the bug, then....


This bug report was last modified 12 years and 151 days ago.

Previous Next


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