interdimensionalmeme@lemmy.ml to Linux@lemmy.ml • 18 hours agozcat shouldn't error out if you try to zcat an uncompressed file, it should just output the damned file !message-squaremessage-square9 fedilinkarrow-up130file-text
arrow-up130message-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 • 18 hours agomessage-square9 Commentsfedilinkfile-text
minus-squareinterdimensionalmeme@lemmy.mlhexagonhexbear2·5 hours agoEven a corrupt compressed files has a very different structure relative to plain text. "file" already has the code to detect exactly which. Still, failing on corrupted compression instead of failing on plaintext would be an improvement. linkfedilink
Even a corrupt compressed files has a very different structure relative to plain text. "file" already has the code to detect exactly which.
Still, failing on corrupted compression instead of failing on plaintext would be an improvement.