How can I have this read from a file and not have to do a string? I have four margins to do. It would be a lot easier just to do a file instead of doing this for all four.
Code: Select all
TOPMARGIN=" "1" " 2" "3" "36" "
COMBOLIST2=""
for M in $TOPMARGIN
do
COMBOLIST2="$COMBOLIST2<item>$M</item>"
done