1#!/bin/bash 2 3OUTPUT=$1 4shift 5 6echo TESTLIST > $OUTPUT 7 8if [[ $# -gt 0 ]] ; then 9 echo -n $1 >> $OUTPUT 10 shift 11fi 12 13while [[ $# -gt 0 ]] ; do 14 echo -n " $1" >> $OUTPUT 15 shift 16done 17 18echo -e "\nEND TESTLIST" >> $OUTPUT 19