bug-coreutils
[Top][All Lists]
Advanced

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

bug#29421: bug in command "tr"


From: wangjian
Subject: bug#29421: bug in command "tr"
Date: Fri, 24 Nov 2017 09:01:43 +0800

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.
address@hidden temp]$


Wang




reply via email to

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