run a command against a list

To run a command against a list of parameters:

#!/bin/bash
cat ./thelist.in | {
while read FILE ; do
/the/command/to/run "$FILE"
done
}

Comments

Popular Posts