I need to write a bash script that does the following:
- copies an html file
- task:
cp index.html index2.html
- task:
- replaces certain characters i.e.
src="videos/
found inside ofindex2.html
with new characters i.e.src="content://com.company.app/videos/
- task: replace
src="videos/
withsrc="content://com.company.app/videos/
inside ofindex2.html
- task: replace
As you can see, I can do step one. However, I need help doing step 2. What should I write in the bash script?