Error about the tr command of linux shell -


when type command :

$ echo 1234567890 | tr '9-0' '9876' 

it says "tr: range-endpoints of '9-0' in reverse collating sequence order". mean? means can type "0-9"?

yes, that's means. '9-0' isn't range, anymore 'z-a' range. otherwise, how know whether mean 0-9 or entire unicode range starting 9, going top of range , wrapping around 0?


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -