sed

Introduction

regex in sed
\1 \2 matchs the 1st and 2nd ()
( ) should be transferd by \

More:

Author: kwin
Link: https://blog.kwin.win/2020/04/17/sed/
Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.