January 18, 2015 for f in lots*of*files; do test is_important $f && echo ==> $f is a critical file; done # ALWAYS QUOTE YOUR ECHOES #fml Originally posted on Twitter