How to change the decimal separator with awk/sed?

后端 未结 8 1361
萌比男神i
萌比男神i 2020-12-31 10:40

How to change number format (different decimal separator) from XXXXXX.XXX to XXXXXX,XXX using sed or awk?

8条回答
  •  抹茶落季
    2020-12-31 11:28

    I think

    s/\./,/g
    

    should serve what u want... unless u want something more special...

提交回复
热议问题