I definitely use this all the time. Also, generating the list of things over which to iterate using the output of a command:
for thing in $(cat file_with_one_thing_per_line) ; do ...
xargs -n1 command < file_with_one_thing_per_line
I definitely use this all the time. Also, generating the list of things over which to iterate using the output of a command: