• universal zcat ?

    From Bill Allombert@21:1/5 to All on Mon Sep 9 01:40:01 2024
    Dear Debian developpers,

    I ma looking for a wrapper around the various compressions programs
    (gzip, bzip2, xz, zstd, etc.)
    that would provide the same interface as zcat but would automatically
    pick the right decompressor.

    I could easily write one but it probably already exists.

    Cheers,
    --
    Bill. <ballombe@debian.org>

    Imagine a large red swirl here.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Josh Triplett@21:1/5 to Bill Allombert on Mon Sep 9 02:30:01 2024
    Bill Allombert wrote:
    Dear Debian developpers,

    I ma looking for a wrapper around the various compressions programs
    (gzip, bzip2, xz, zstd, etc.)
    that would provide the same interface as zcat but would automatically
    pick the right decompressor.

    I could easily write one but it probably already exists.

    https://packages.debian.org/sid/zutils:
    utilities for dealing with compressed files transparently

    Zutils is a collection of utilities for dealing with any combination
    of compressed and non-compressed files transparently. Currently the
    supported compressors are gzip, bzip2, lzip, xz, and zstd.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Pentchev@21:1/5 to Josh Triplett on Mon Sep 9 14:50:01 2024
    On Sun, Sep 08, 2024 at 08:10:53PM -0400, Josh Triplett wrote:
    Bill Allombert wrote:
    Dear Debian developpers,

    I ma looking for a wrapper around the various compressions programs
    (gzip, bzip2, xz, zstd, etc.)
    that would provide the same interface as zcat but would automatically
    pick the right decompressor.

    I could easily write one but it probably already exists.

    https://packages.debian.org/sid/zutils:
    utilities for dealing with compressed files transparently

    Zutils is a collection of utilities for dealing with any combination
    of compressed and non-compressed files transparently. Currently the supported compressors are gzip, bzip2, lzip, xz, and zstd.

    There are also acat in the atool package, and bsdcat in
    the libarchive-tools package.

    G'luck,
    Peter

    --
    Peter Pentchev roam@ringlet.net roam@debian.org peter@morpheusly.com
    PGP key: https://www.ringlet.net/roam/roam.key.asc
    Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAmbe7A8ACgkQZR7vsCUn 3xN3eQ/9HJP7tPqxuHEu6GUcz8vkvU2z8HP7/jfPxizqR3AR9tz+ecXWmw+ifLnv 0vQ71ETh7T+lxmRwf44ZttPR8lf2eyGlLXJZLTJcXyaiO2gMzngh/PrNky6Jrr7O sOnv9RW4xGosGK8o0lCr9j8k8RzugeFRa4ztz+uiiN7VfqQY6KWB/GBJWf7JQq/G wT3o7SN4IJdLBzl9NifK+HDroOZW0uilEH8HJ7aQdYx1fGnDvpbbjua+0hhu8nX3 Bveug/PGZMbMZsfOr4zjIIb7V3sljFi3H6/zJf+QsyCkp+sz/noH36k0bVjnGQpU apANeAXQOFSr2cELkbA3qKzdu3pRFSVmfsxP1xkgyh/QcUl3EiVTzyRajOcj9CzK 5wbH+O/hJyCPVJm+In/jYhqj1QGnl/XkUPjstGd1d7gHTr8BqQvSZ3+Ikjj7ku5T qKQu+p9x8u+J7UXw2CC+jArJ3gWtehC7kqz2qeRiFDqFNVkNCfjqGPuKEBBJ1bay SLXEyfAZI7RVuCDeK0ffdaUr1DA4IcVlmhFMZfhr/Jm+y63CGXOx/kUu6EhK9FPK QTbWF93cSggP1R/BXmgw7q6tKXG9p/edPzIrvrT0zH+D6WECAHLbX/b0d6WoICZn Hr5w2oivOp76H0bZPY8YWTnphVdnNbGFtV1lqMksXxajNxLKgnk=
    =N4ml