echo "0x0ddb00b5" | /usr/bin/perl -e 'print("\""); while(<STDIN>){chop +;tr/!-~/P-~!-O/;print $_;} print("\"\n"); exit 0;'
That could be written more simply as:
echo "0x0ddb00b5" | /usr/bin/perl -lne'tr/!-~/P-~!-O/; print qq/"$_"/'
In reply to Re: what is the translation?
by jwkrahn
in thread what is the translation?
by roadtest
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |