Bob Proulx wrote:
> Try this instead:
> 
>   echo fdhrnzvfu bffvsentr | tr '[a-z]' '[n-za-m]'

Oops.  I should have said:

  echo fdhrnzvfu bffvsentr | tr a-z n-za-m

The STRINGS are already character classes so they don't need
brackets.  And with no brackets no need to quote.

Also, for a full rot13 don't forget the capital letters!  :-)

  echo fdhrnzvfu bffvsentr | tr A-Za-z N-ZA-Mn-za-m

Bob


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to