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@kvmhost73 temp]$ Wang