in reply to Access and modify specific element of tab delimited .txt file
If you literally only need to create first entry, don't split?
perl -pe 'BEGIN { print "ID"; }' /tmp/test.dat
Good Day,
Dean
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Access and modify specific element of tab delimited .txt file
by mr_mischief (Monsignor) on Mar 31, 2016 at 15:19 UTC |