in reply to Re: Access and modify specific element of tab delimited .txt file
in thread Access and modify specific element of tab delimited .txt file
Thanks! This works well (after replacing " with '). It is slightly more complex in that $F[0] will not always eq 'A', so this could also be used:
perl -plae '$.== 1 and $_ = 'ID' . $_'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Access and modify specific element of tab delimited .txt file
by BrowserUk (Patriarch) on Mar 30, 2016 at 12:32 UTC |