Answer the question
In order to leave comments, you need to log in
How to insert a word using bash between repeated characters in a file?
Hello!
Is available:
a certain file with the text inside.
the desired piece of text:
" mydomain.ru/blablablabla "
Need:
insert "www" in each place where the domain is specified, so that it is " www.mydomain.ru/blablabla ".
I know that using sed, but I don’t know how exactly, there is absolutely no time to thoroughly manual sed :(
Thank you!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question