#!/usr/bin/perl $/=\1;while(<>){$c=($c<<1)+($c>>31)+($x>>2==3?0:ord);$x++}printf"%x",$ +c
I have fuddled with this trying to figure out exactly what is happening but I am at a loss.
UPDATED QUESTION
I orignally thought that if I could understand the script I could rewrite it as a sub that I could pass my $buffer and get back a hex representation and the actual result that I could write back into the file BUT my attempts have failed. Could someone lend me a hand, give me some tips, grant a miracle(make me perl omniscient :) ). thanks again for your time.
In reply to please explain this script by arcnon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |