tr command I want to convert
My command was:
$_="Hello"; print; tr/Hello/Hi/; print;
But the result was
Hiiii. What did I do wrong?
What is the right way to do it?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community