Ubuntu – sed: replace immediate next word coming after a particular keyword
In GitHub actions, when merging a push request to main, I would like to replace the branch name occurrence in a notebook by main. For instance, given the below line: git clone --branch fork1 https://somrepo.git Using the below regex, all…