1539
Like programming in bash
(lemmy.ml)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
I can only remember this because I initially didn't learn about
xargs
so any time I need to loop over something I tend to use
for var in $(cmd)
instead ofcmd | xargs
. It's more verbose but somewhat more flexible IMHO.So I run loops a lot on the command line, not just in shell scripts.