sed - how to delete block of code inside curly brackets?

后端 未结 0 764
深忆病人
深忆病人 2020-12-09 16:08

I have a file that has some code block:

dimensions{
   dim1{
      //foo
   }
   dim2{
      //bar
   }
}

How can I delete the whole \'dimens

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