You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
215 B

#!/bin/bash
OUTPUT=$1
shift
echo TESTLIST > $OUTPUT
if [[ $# -gt 0 ]] ; then
echo -n $1 >> $OUTPUT
shift
fi
while [[ $# -gt 0 ]] ; do
echo -n " $1" >> $OUTPUT
shift
done
echo -e "\nEND TESTLIST" >> $OUTPUT