$ perl testformat.pl 0 1 " " 2 3 " " 4 5; $ cat /tmp/test.txt 11/11/2011 REF123 0 1 2 3 4 5