On Sun, Jul 23, 2006 at 01:23:07PM +0200, Mohammed Adnène Trojette wrote: > 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:
Very nice! Finaly it's been sanitised :) > % ./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 Is ".suf" the default suffix? -- Robert Millan My spam trap is [EMAIL PROTECTED] Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]