in reply to one liner?
Yes :)
C:\test>copy con in.csv 123,456 789,123 135,780 ^Z 1 file(s) copied. C:\test>perl -F, -aple"$_ = join ',', $F[0], sprintf '%05d',$F[1]" in. +csv 123,00456 789,00123 135,00780
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: one liner?
by Anonymous Monk on Aug 03, 2012 at 13:00 UTC | |
by BrowserUk (Patriarch) on Aug 03, 2012 at 13:23 UTC | |
by CountZero (Bishop) on Aug 03, 2012 at 13:21 UTC |