Mercurial > repo
changeset 8835:c716a47ff0e4
<wob_jonas> `` e=bin/hello;>$e echo $\'#!/usr/bin/perl\\n\'\'$c=unpack"C",pack"h",$ARGV[0];print+($c&1?"H":"h"),"ello",($c&2?"":","),($c&4?" W":" w"),"orld",($c&8?".":""),"\\n";\'
author | HackBot |
---|---|
date | Sun, 24 Jul 2016 11:08:27 +0000 |
parents | 96991a39b71a |
children | c59e0c6ac011 |
files | bin/hello |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/hello Sun Jul 24 11:06:54 2016 +0000 +++ b/bin/hello Sun Jul 24 11:08:27 2016 +0000 @@ -1,2 +1,2 @@ #!/usr/bin/perl -$c=unpack"h",pack"h",$ARGV[0];print+($c&1?"H":"h"),"ello",($c&2?"":","),($c&4?" W":" w"),"orld",($c&8?".":""),"\n"; +$c=unpack"C",pack"h",$ARGV[0];print+($c&1?"H":"h"),"ello",($c&2?"":","),($c&4?" W":" w"),"orld",($c&8?".":""),"\n";