Though that solution won't work for a file with more columns.
This will:
perl -F, -aple"$F[-1]=sprintf'%05d',$F[-1]; $_=join',',@F" in.csv
In reply to Re^3: one liner?
by BrowserUk
in thread one liner?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |