GNU bug report logs -
#29421
bug in command "tr"
Previous Next
Reported by: wangjian <halfmoonhalf <at> gmail.com>
Date: Fri, 24 Nov 2017 02:19:01 UTC
Severity: normal
Tags: notabug
Done: Pádraig Brady <P <at> draigBrady.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi there, I think this is a bug
mkdir empty_foler
cd empty_foler
touch a
echo "abc" | tr [:blank:] + # you will get “+bc” as output, instead of “abc”
touch b
echo "abc" | tr [:blank:] # you will get “bbc” as output, instead of “abc”
My system info:
CentOS release 6.7 (Final)
linux kernel version 2.6.32-573.el6.x86_64
$ tr --version
tr (GNU coreutils) 8.4
Copyright (C) 2010 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.
[wangjian <at> kvmhost73 temp]$
Wang
This bug report was last modified 7 years and 242 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.