Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple?: Insert Line numbers on left

Status
Not open for further replies.

SMerrill

Programmer
Jan 19, 2002
145
US
I would like to convert each line
R,34343,23,3,"3,4",
R,34343,23,4,"3,4",
R,34343,23,3,"4,3",
to
1,R,34343,23,3,"3,4",
2,R,34343,23,4,"3,4",
3,R,34343,23,3,"4,3",

I'm a NOOB with AWK. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top