interdimensionalmeme@lemmy.ml to Linux@lemmy.ml · 8 months agozcat shouldn't error out if you try to zcat an uncompressed file, it should just output the damned file !message-squaremessage-square28linkfedilinkarrow-up138arrow-down18file-text
arrow-up130arrow-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 · 8 months agomessage-square28linkfedilinkfile-text
minus-squareallywilson@lemmy.mllinkfedilinkarrow-up3·8 months agoWon’t this cause cat to iterate through all files in the cwd once zcat encounters an issue, instead of just the specific file?
minus-squareMonkderVierte@lemmy.mllinkfedilinkarrow-up1·8 months 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.
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.