@interdimensionalmeme@lemmy.ml to Linux@lemmy.ml • 1 year agozcat shouldn't error out if you try to zcat an uncompressed file, it should just output the damned file !message-square32fedilinkarrow-up181arrow-down113
arrow-up168arrow-down1message-squarezcat shouldn't error out if you try to zcat an uncompressed file, it should just output the damned file !@interdimensionalmeme@lemmy.ml to Linux@lemmy.ml • 1 year agomessage-square32fedilink
minus-square@SteveTech@programming.devlinkfedilinkEnglish8•edit-21 year 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/zcatto get the source.Or even
zcat -f /usr/bin/zcat