Comment by williamcotton

10 months ago

My brain refuses to learn bash conditional syntax. Personally, when I’m about to write a conditional in bash I take it as a cue to switch to another language.

    for i in $( ls | grep “a complicated enough filter that I never have to use conditionals in my loop”) ;
    do
         echo -n “if I don’t want to work on ” $i 
        echo “ it is time to change languages” 
    done