adding a new column as line number in a csv file
create new file with line numbers and just get rid of old one
awk '{printf "%s,%s\n", NR,$0}' input.txt > new.txt
create new file with line numbers and just get rid of old one
awk '{printf "%s,%s\n", NR,$0}' input.txt > new.txt