Use matching sub-pattern of each line

后端 未结 0 1101
小蘑菇
小蘑菇 2020-11-28 02:47

I have the following text file:

(ABC)
(DEF)
(GHI)
...

I want to use sed to change it to:

(ABCABC)
(DEFDEF)
(GHIGH         


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