Add a comma to every curly bracket except the last curly bracket in Shell/awk/sed

后端 未结 0 652
小鲜肉
小鲜肉 2021-01-28 12:05

I\'d like to add a comma after } except the last one } Tried Google but can\'t find the answer.

Example as below:

From

{
  "{#         


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