druha cast
php5 -d error_reporting=0 -r 'foreach(preg_split("/ +/", strtr(preg_replace("/\n+/", " ", implode("", array_map(create_function("\$a,\$b", "return \$a.\$b;"), file("2.txt"), file("1.txt")))), "uvwxyz", "FEDCBA")) as $c) echo ($i==0 ? "<tr>\n" : "").($c=="X" ? ($i==0 ? "" : (str_repeat("<td bgcolor=#11ff00>",527-$i+($i=0)))) : ((strlen($c)+(++$i==527? $i=0 : 0 )) ? "<td bgcolor=#$c>" : ""));' > soutez.html.part
ok, aktualizovane vydani:
$ echo -ne '\000\000\002\000\000\000\000\000\000\000\000\000\017\002\255\000\040\050' > soutez-4.tga
$ php5 -d error_reporting=0 -r 'foreach(preg_split("/ +/", strtr(preg_replace("/\n+/", " ", implode("", array_map(create_function("\$a, \$b", "return \$a.\$b;"), file("2.txt"), file("1.txt")))), "uvwxyz", "FEDCBA")) as $c) echo $c=="X" ? ($i ? (str_repeat(pack("V", 0), 527-$i+($i=0))) : "") : (strlen($c)*(($i=++$i%527)+1) ? pack("VXC", intval($c, 16), 0xff) : "");' >> soutez-4.tga