#412005 zum: Ability to "perforate" stdin

Package:
perforate
Source:
perforate
Description:
Utilities to save disk space
Submitter:
Mike Hommey
Date:
2017-10-25 20:39:05 UTC
Severity:
wishlist
#412005#5
Date:
2007-02-22 19:39:25 UTC
From:
To:
It would be nice if zum could also treat stdin instead of a file.
#412005#10
Date:
2008-10-08 17:37:55 UTC
From:
To:
If only zum could support stdin, then one wouldn't need 100 times more
disk to go from state one to state three:
$ ls -ogs file.gz
496 -r--r--r-- 1 497804 2008-10-09 00:36 file.gz
$ gunzip file.gz
$ ls -ogs file.gz
500131 -r--r--r-- 1 510132224 2008-10-07 13:18 file
$ zum file
file [1000160K]  [1 link]
$ ls -ogs file
51 -r--r--r-- 1 510132224 2008-10-07 13:18 file

I wish I could do zcat file|zum -o newfile

Indeed just
$ zum
hangs waiting for input, but one is not sure what that is about, as
$ echo|zum
gives an error.

#412005#15
Date:
2017-10-25 20:28:12 UTC
From:
To:
To clear up the confusion: when given no command-line arguments, zum reads a
list of files to perforate from stdin.

This behavior will be documented in the next release. (However, I would
still be happy for a patch to perforate stdin, using the common syntax ‘zum
-’.)