If I have the following csv file called mycsv.txt:

```
0123, fred, 012345, end
023, smith, 012, end

```

and apply this awk command:

```
awk '{$1=sprintf("%05d", $1);$3=sprintf("%08d", $3)}1' mycsv.txt 

```

I get this output:

```
00123 fred, 00012345 end
00023 smith, 00000012 end

```

Why is the first and third comma removed and how do I make sure that they are included in the output.