On Mon, Aug 22, 2005 at 02:02:32AM +0200, Mohammed Adn?ne Trojette wrote: > On Fri, Aug 19, 2005, Robert Millan wrote: > > 7za fails to parse command line flags when combining -si with -so: > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > [EMAIL PROTECTED]:/tmp$ echo foo | 7za a -si -so > /dev/null > > > > 7-Zip (A) 4.20 Copyright (c) 1999-2005 Igor Pavlov 2005-05-30 > > p7zip Version 4.20 (locale=C,Utf16=off,HugeFiles=on) > > > > > > Error: > > Incorrect command line > > Hello, > > is: > > =============== > > 1:59 [EMAIL PROTECTED] /tmp/test% echo foo | 7z a dummy -tgzip -si -so > > /dev/null > > 7-Zip 4.20 Copyright (c) 1999-2005 Igor Pavlov 2005-05-30 > p7zip Version 4.20 (locale=fr_FR,Utf16=on,HugeFiles=on) > Creating archive StdOut > > > Everything is Ok > > =============== > > what you wanted to do?
Yes, but this is inconsistent with -h output: -si: read data from stdin -so: write data to stdout (Doesn't say that you have to specify a dummy archive. In fact, it shouldn't need this hack) OTOH, without -tgzip it segfaults (I'll file a separate bug). -- Robert Millan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

