I have the following line in a file:
word1 -a<follow by some number here> word2
(eg: word1 -a23 word3)
I need to change "-a23" to "-B aa=23". I am having a hard time trying to get this done in sed. Could someone please help.
Due to other substitution in my script done by sed, I like to have the substitution above done by sed if possible.
Thank you.
word1 -a<follow by some number here> word2
(eg: word1 -a23 word3)
I need to change "-a23" to "-B aa=23". I am having a hard time trying to get this done in sed. Could someone please help.
Due to other substitution in my script done by sed, I like to have the substitution above done by sed if possible.
Thank you.