On Mon, Aug 22, 2005 at 02:05:18AM +0200, Mohammed Adn?ne Trojette wrote:
> On Fri, Aug 19, 2005, Robert Millan wrote:
> > [EMAIL PROTECTED]:/tmp$ 7za x foo.7z -so
> 
> Hello,
> 
> is:
> 
> ===============
> 
> 2:03 [EMAIL PROTECTED] /tmp/test% 7za x foo.gz -so > foo.txt
> 
> 7-Zip (A) 4.20  Copyright (c) 1999-2005 Igor Pavlov  2005-05-30
> p7zip Version 4.20 (locale=fr_FR,Utf16=on,HugeFiles=on)
> 
> Processing archive: foo.gz
> 
> Extracting  foo
> 
> Everything is Ok
> 
> ===============
> 
> what you wanted to do?

I wanted to output the contents to standard output, not to a file (foo.txt).

A workaround could be:

$ 7za x foo.7z -so | cat

(this would dump the contents of foo.7z to stdout, although you'd still have to
filter out stderr via 2>/dev/null if you want readable output).

-- 
Robert Millan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to