Comment on How do you shell expand your variables and why?
thingsiplay@kbin.social 1 year ago@ilega_dh You don't need cat
in cases when grep "d" alphabet.txt
can read from file too.
Comment on How do you shell expand your variables and why?
thingsiplay@kbin.social 1 year ago@ilega_dh You don't need cat
in cases when grep "d" alphabet.txt
can read from file too.
gendulf@kbin.social 1 year ago
To be safe, should probably output grep to a file, then cat that.
ilega_dh@feddit.nl 1 year ago
Agreed. Everything in Linux is a file so let’s keep it that way.