interdimensionalmeme@lemmy.ml to Linux@lemmy.ml • 15 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-up127file-text
arrow-up127message-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 • 15 hours agomessage-square9 Commentsfedilinkfile-text
minus-squareallywilson@lemmy.mlhexbear2·4 hours agoWon't this cause cat to iterate through all files in the cwd once zcat encounters an issue, instead of just the specific file? linkfedilink
minus-squareMonkderVierte@lemmy.mlhexbear1·53 minutes agoYeah, i was tired and had $file there first, then saw that you wanted to cat all in directory. Still tired, but i think this works now. linkfedilink
Won't this cause cat to iterate through all files in the cwd once zcat encounters an issue, instead of just the specific file?
Yeah, i was tired and had $file there first, then saw that you wanted to cat all in directory. Still tired, but i think this works now.