I have csv file where I want the second column has to be replaced with value 1.
Source file
919568760477,1,2011-07-11T22:34:27.000+05:30,
919557735692,2,2011-07-11T22:36:16.000+05:30,
917417384969,2,2011-07-11T22:33:26.000+05:30,
Final file
919568760477,1,2011-07-11T22:34:27.000+05:30,
919557735692,1,2011-07-11T22:36:16.000+05:30,
917417384969,1,2011-07-11T22:33:26.000+05:30,
Kindly let me know the best efficient with sed or awk.
Thanks