Re: Format fields

51 views
Skip to first unread message

Neil Butterworth

unread,
Nov 19, 2012, 7:00:58 AM11/19/12
to csvfix
CSVFix has no support for formatting numbers in CSV output, as CSV is
not really a display medium. You can use the printf command to
approximate this, however. It also has no support for time formatting.


On Nov 18, 6:36 am, hoainam <hoainam.co...@gmail.com> wrote:
> Hi,
>
> How to format some fields of a csv file. For example: 1st field is string,
> 2nd field is two-digit number (00, 01, 02, ....99), 3rd field is floating
> number likes 01.234.
>
> I tried 'printf' command but no success.
>
> And how to format a field as hh:mm:ss.000?
>
> Please instruct!
>
> Thanks
Reply all
Reply to author
Forward
0 new messages