Search This Blog

Tuesday, February 3, 2009

Translate tr command

Translate tr command

echo $PATH | tr [a-z] [A-Z]

[Change : to white space]
echo $PATH | tr ":" '\040'

41 !
42 "
43 #
44 $
45 %
46 &
47 '
AND SO ON....

No comments:

Post a Comment