How to add a line number follow by a tab to a text file
2
votes
1
answer
2277
views
I tried using
nl -ba -s '\t' full_media > full_media2
But it really did not add the tab, but it added actually the "\t" text after the line number. The file im editing is a CSV file and here by i'm trying to add a new column to the beginning with id.
Asked by dinesh707
(131 rep)
Feb 9, 2015, 09:14 AM
Last activity: Feb 9, 2015, 09:33 AM
Last activity: Feb 9, 2015, 09:33 AM