What sed, GNU?
oh sorry, yes (GNU sed) 4.4
Note that GNU sed is a different flavour to traditional Unix sed
Where did you try this?
ubuntu 18.04.5 LTS, bash 4.4.20
I should be looking into this way further. Thanks for the note.
okay so just in case someone in the future might need help just like I did, you need to escape parenthesis in GNU sed, so it should have been sed -e 's/text[_ ]\(additional\)' ref. https://www.gnu.org/software/sed/manual/html_node/Regular-Expressions.html
thanks for the help mate👍
Обсуждают сегодня