http://qs1969.pair.com?node_id=127176


in reply to Re: Re: Re: Re: One-liner ascii/bin
in thread One-liner ascii/bin

Hi, You are so veeery close, only that I get: Can't find string terminator "'" anywhere before EOF at -e line 1. : Rolf

It appears you are using CMD or COMMAND in Windows for your command-line interpretor, which doesn't know what to do with the quotes. Change I0's one-liner to this:

perl -e "print unpack qq(B*),shift" Rolf

... and it will work.

mkmcconn
(or use cygwin, instead)