@[email protected] to [email protected] • 1 month agozcat shouldn't error out if you try to zcat an uncompressed file, it should just output the damned file !message-square29fedilinkarrow-up169arrow-down112file-text
arrow-up157arrow-down1message-squarezcat shouldn't error out if you try to zcat an uncompressed file, it should just output the damned file !@[email protected] to [email protected] • 1 month agomessage-square29fedilinkfile-text
minus-square@[email protected]linkfedilinkEnglish8•edit-21 month agoIt’s part of GNU Gzip, and zcat is basically just a shell script that runs exec gzip -cd "$@" meaning you can actually just do cat /usr/bin/zcat to get the source.
It’s part of GNU Gzip, and zcat is basically just a shell script that runs
exec gzip -cd "$@"
meaning you can actually just docat /usr/bin/zcat
to get the source.Or even
zcat -f /usr/bin/zcat