interdimensionalmeme@lemmy.ml to Linux@lemmy.ml · 11 days agozcat shouldn't error out if you try to zcat an uncompressed file, it should just output the damned file !message-squaremessage-square32fedilinkarrow-up182arrow-down112file-text
arrow-up170arrow-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 · 11 days agomessage-square32fedilinkfile-text
minus-squareinterdimensionalmeme@lemmy.mlOPlinkfedilinkarrow-up2arrow-down1·11 days agoWhere is it? I can’t seen to find it https://github.com/zCat?tab=repositories
minus-squareSteveTech@programming.devlinkfedilinkEnglisharrow-up8·edit-211 days 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.
Where is it? I can’t seen to find it https://github.com/zCat?tab=repositories
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