echo "<<<<<<<<<<<<<<<<<<<<<<<<< $1 >>>>>>>>>>>>>>>>>>"
head -20 $1
The file zzz.list contains 525 lines representing user scripts (1 per line), but only the first, 181st, and 399th lines were processed. What am I missing?
...so you can just do xargs head -v -20 < zzz.list to get something divided up and labelled. The -v guarantees it gets labelled even if it's only given one file.