interdimensionalmeme@lemmy.ml to Linux@lemmy.ml · 1 day agozcat shouldn't error out if you try to zcat an uncompressed file, it should just output the damned file !message-squaremessage-square19fedilinkarrow-up168arrow-down18file-text
arrow-up160arrow-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 day agomessage-square19fedilinkfile-text
minus-squareSteveTech@programming.devlinkfedilinkEnglisharrow-up5·edit-213 hours 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.