|
From: | Paul Eggert |
Subject: | bug#42402: Enhancement request re zcat with empty files |
Date: | Wed, 6 Apr 2022 17:08:17 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 |
I am asking for an enhancement to zcat, that it should silently ignore empty files, either always, or (if that conflicts with POSIX or some other standard), by a command line option.
zcat -f does what you're asking for. For example: $ touch empty $ echo something | gzip >abc.gz $ zcat -f * something Since the -f option satisfies your request I'll close the bug report.
[Prev in Thread] | Current Thread | [Next in Thread] |