If you literally only need to create first entry, don't split?
perl -pe 'BEGIN { print "ID"; }' /tmp/test.dat
Good Day,
Dean
In reply to Re: Access and modify specific element of tab delimited .txt file
by duelafn
in thread Access and modify specific element of tab delimited .txt file
by K_Edw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |