On Sun, Jul 23, 2006, Robert Millan wrote: > Does any of these provide gzip-like interface? Both tar and dpkg rely on > this. > The following syntax should be possible: > > $ echo foo | cmd | cmd -d > foo > > If there isn't any "cmd" that provides this CLI, we still need a wrapper.
As a matter of fact, they do: % ./lzma --help lzma 4.32.0beta3 Copyright (C) 2005 Ville Koskinen Based on LZMA SDK 4.32 Copyright (C) 1999-2005 Igor Pavlov Usage: ./lzma [flags and input files in any order] -c --stdout output to standard output -d --decompress force decompression -z --compress force compression -k --keep keep (don't delete) input files -f --force force overwrite of output file and compress links -t --test test compressed file integrity -S .suf --suffix .suf use suffix .suf on compressed files -q --quiet suppress error messages -v --verbose be verbose -h --help print this message -L --license display the license information -V --version display version numbers of LZMA SDK and lzma -1 .. -2 fast compression -3 .. -9 good to excellent compression. -7 is the default. --fast alias for -1 --best alias for -9 (usually *not* what you want) My work will just be to upgrade the SDK in there with the most recent one. -- adn Mohammed Adnène Trojette