This content has been marked as final. Show 2 replies
How you print something usually depends somewhat on the context. However, just to print the A's using perl you could do the following:
$ perl -e 'print chr(65),chr(0x41),chr(0101), "\n";'
They chr() function calls are shown taking the decimal, hex and octal values respectively.
How can I use print and echo to output 'A' using its Deciimal, Hex and Octal value?