Hands-on task
This task is step 2 of the course “sed: the stream editor”
sed: global replace
In /root/in.txt replace all hyphens - with underscores _. The result goes to /root/out.txt.
What you'll practise:
- sed
- substitution
- the g flag
- output redirection