This was purely out of sheer need, and this was the fastest way I could’ve gotten it done (I ended up learning a LOT about CLI and the awk command from this, so I’m really grateful for that)
The problem: I have a column in a utf-8 CSV file of type Integer, which should actually be type string and zero-padded up to (let’s say length N).
~/projects/awk_pad ❯ cat out.csv
a,Y,1
b,N,10
c,Y,12223253
What I want, is the following (output from the cat tool):