bin/sh input=mapfiles.txt cmd=prog while read line do file=$(echo $line | cut -d' ' - f1) key=$(echo $line ...
stackoverflow.com