Menu

#6 compressor for GNU sed

open
5
2005-11-09
2005-11-09
olecom
No

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.

Discussion

  • olecom

    olecom - 2005-11-09

    C and javaScript code compressor written on sed(1)

     
  • olecom

    olecom - 2005-11-09
    • assigned_to: nobody --> warp9pnt9
     
  • - 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.

     
  • olecom

    olecom - 2005-11-09

    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 !

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.