[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Encrypted script - sort of



>> >A tale I hear is that when HP had to deliver operating system source to
>> >the french government they stripped all comments and changed all variable
>> >and subroutine names to 32 byte strings of I 1 0 (zero) and O (uppercase O).
>> >It still compiled but was 100% useless to human readers.
>
>A somewhat useful utility would be one that would compress C code into as 
>small space as possible, stripping out all spaces and making variable 
>names one character a piece when possible. And of course one to expand it 
>back into 'formatted' text, style could even be incorporated.
>
>I'm sure a Perl fanatic knows a quick solution... I'm always amazed at 
>how short Perl code is.. :)   Anyone care to take care of this utility?

press.c has been circulating for several years. I dont know of an unpress.c
but a beautifier would do the same thing.