huf [he/him]@hexbear.nettoLinux@lemmy.ml•zcat shouldn't error out if you try to zcat an uncompressed file, it should just output the damned file !English
6·
11 days agozgrep . *
should do the trick
oh, there’s also zcat -f *
zgrep . *
should do the trick
oh, there’s also zcat -f *
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.