Answers for "ascii to binary perl"

0

ascii to binary perl

$ echo AB | perl -lpe '$_=join " ", unpack"(B8)*"'
01000001 01000010
$ echo 01000001 01000010 | perl -lape '$_=pack"(B8)*",@F'
AB
Posted by: Guest on July-19-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language