Re: Frage zu Newsyslog

From: Bernd Walter <ticso(at)cicely12.cicely.de>
Date: Sun, 11 Jan 2004 14:13:57 +0100

On Sun, Jan 11, 2004 at 01:56:38PM +0100, Nicolas Rachinsky wrote:
> * Bernd Walter <ticso(at)cicely12.cicely.de> [2004-01-11 12:46 +0100]:
> > gzip und bzip2 unterstützen IIRC kein Anhängen an Files.
>
> AFAIK geht es mit beiden.
>
> bzip2 <in >>out
> gzip <in >>out
> sollten beide funktionieren.

Mmm - scheint zu stimmen:
[271]cicely12> echo foo > foo
[272]cicely12> echo foo2 > foo2
[273]cicely12> cat foo | bzip2 -c > bz2
[274]cicely12> cat foo2 | bzip2 -c >> bz2
[275]cicely12> bzip2 -dc bz2
foo
foo2
[276]cicely12> cat foo | gzip -c > gz
[277]cicely12> cat foo2 | gzip -c >> gz
[278]cicely12> gzip -dc gz
foo
foo2

Nunja - newsyslog kanns nicht.

-- 
B.Walter                   BWCT                http://www.bwct.de
ticso(at)bwct.de                                  info(at)bwct.de
To Unsubscribe: send mail to majordomo.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sun 11 Jan 2004 - 14:16:43 CET

search this site