interdimensionalmeme to Linux · 10 hours agozcat shouldn't error out if you try to zcat an uncompressed file, it should just output the damned file !message-squaremessage-square9fedilinkarrow-up153arrow-down15file-text
arrow-up148arrow-down1message-squarezcat shouldn't error out if you try to zcat an uncompressed file, it should just output the damned file !interdimensionalmeme to Linux · 10 hours agomessage-square9fedilinkfile-text
minus-squareMonkderViertelinkfedilinkarrow-up7·edit-23 hours agoThat’s really bad. zcat ./* 2>/dev/null || cat ./* does the same. Btw, don’t parse ls. Use find |while read -r instead.
That’s really bad.
zcat ./* 2>/dev/null || cat ./*
does the same.Btw, don’t parse ls. Use
find |while read -r
instead.