perl -ane "@F<3 and @hdr=@F,next; print qq|@hdr $_|" data1.txt