I didn't find any OS GNU usable compressor, so let me
propose my version of it using sed(1).
Upon request I can add (and probably will, when will
start to use DynAPI) adding missing semicilons.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
-
2005-11-09
Logged In: YES
user_id=706287
Hmm, very interesting! Have you got any doc on how to use,
and test cases? I can and will take a look later this week.
I know regexps a little (POSIX and Perl), and have used GNU
sed. About your license, I don't know if public domain is
ok for the GPL or LGPL, because public domain doesn't
require modifications to be released as public domain. The
API is LGPL. But as this is a tool, maybe GPL is indicated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1. Public domain does not violate (L)GPL.
2. Even if (L)GPL violated, public domain just doesn't care.
(Conversely doesn't applicable ;-)
3. No warranty of any kind: usability or even working, etc.
4. Finally. If it doesn't work at all, just drop it down.
I don't know about docs. Maybe in future, if somebody will
need them.
Test/development cases are for human checking, not automatic.
Usage is basic;
input: file_name(s) as parameter(s) or standard input
output: standard output
Bugs:
comments inside strings, strings are in double quotes only,
spaces inside
regex(7), any more are welcome.
Have fun !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
C and javaScript code compressor written on sed(1)
Logged In: YES
user_id=706287
Hmm, very interesting! Have you got any doc on how to use,
and test cases? I can and will take a look later this week.
I know regexps a little (POSIX and Perl), and have used GNU
sed. About your license, I don't know if public domain is
ok for the GPL or LGPL, because public domain doesn't
require modifications to be released as public domain. The
API is LGPL. But as this is a tool, maybe GPL is indicated.
Logged In: YES
user_id=914209
1. Public domain does not violate (L)GPL.
2. Even if (L)GPL violated, public domain just doesn't care.
(Conversely doesn't applicable ;-)
3. No warranty of any kind: usability or even working, etc.
4. Finally. If it doesn't work at all, just drop it down.
I don't know about docs. Maybe in future, if somebody will
need them.
Test/development cases are for human checking, not automatic.
Usage is basic;
input: file_name(s) as parameter(s) or standard input
output: standard output
Bugs:
comments inside strings, strings are in double quotes only,
spaces inside
regex(7), any more are welcome.
Have fun !