13

problem with tr command

view full story
linux-howto

http://www.unix.com – hi friends, today i found one starge behaviour of TR command. i used the follwing command: Code: echo "NEE"|tr [A-Z] [a-z] sometimes it was giving "nee" as ouput . sometimes it was giving "NEE" as output finally i used the below code: Code: echo "NEE"|tr "[A-Z]" "[a-z]" and it gave me the correct result at every hit. I just want to know the reason behind this starange behavior. is it a problem of my shell??? i am working in ksh88 version. please help (HowTos)