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: "Killen, Randy" <rkillen <at> frk.com>
Subject: bug#13295: closed (Re: bug#13295: Possible bug - tr utility)
Date: Sat, 29 Dec 2012 08:27:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#13295: Possible bug - tr utility

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 13295 <at> debbugs.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: 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....

[Message part 3 (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 4 (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 5 (text/html, inline)]

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.