wudeng

795
reputation
5
8
echo '+++++++++++[&gt+++++++++++[&gt+&lt-]&lt-]&gt&gt--.--.&gt&gt++++[&lt++++[&lt-&gt-]&gt-]&lt&lt-.+.+++++++++.-------.&lt&lt' | sed '
s/\([-+]\)/\1\1*p;/g
s/&lt/p--;/g
s/&gt/p++;/g
s/\./putchar(*p);/g
s/\[/while(*p){/g
s/\]/}/g
1s/^/main(){char*p=calloc(1,6);/
$s/$/free(p);}/'|gcc -xc - 2&gt/dev/null&&./a.out