How to replace the nth column/field in a comma-separated string using sed/awk?

前端 未结 0 1949
感动是毒
感动是毒 2020-12-18 02:38

assume I have a string

\"1,2,3,4\"

Now I want to replace, e.g. the 3rd field of the string by some different value.

\"1,2,N         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题