interdimensionalmeme@lemmy.ml to Linux@lemmy.ml • 3 days 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 • 3 days agomessage-square16 Commentsfedilinkfile-text
minus-squarehuf [he/him]hexbear1·1 day agoin that case, i'd prefer a ~/bin/zcat with the contents #!/bin/sh exec gzip -cdf "$@" this way, it's exec'able, unlike an alias or shell function. link
in that case, i'd prefer a
~/bin/zcat
with the contents#!/bin/sh exec gzip -cdf "$@"
this way, it's exec'able, unlike an alias or shell function.