http://www.perlmonks.org?node_id=1024475


in reply to Re^2: change [A-Z] to U, [a-z] to L with one regex?
in thread change [A-Z] to U, [a-z] to L with one regex?

Thanks for your comment. I did not realize that in tr you would not need [] and that they would be treated as characters in their own right. And indeed in my script a "Z" would be translated into "L". W/o the brackets it would work. I should read the manuals more often/carefully.
For every complex problem there is an answer that is clear, simple, and wrong. H. L. Mencken
  • Comment on Re^3: change [A-Z] to U, [a-z] to L with one regex?