interdimensionalmeme@lemmy.ml to Linux@lemmy.ml • 1 month agozcat shouldn't error out if you try to zcat an uncompressed file, it should just output the damned file !message-squaremessage-square16 fedilinkarrow-up137file-text
arrow-up137message-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 month agomessage-square16 Commentsfedilinkfile-text
minus-squareallywilson@lemmy.mlhexbear2·1 month 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·1 month 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.