Hands-on task
This task is step 8 of the course “sed: the stream editor”
sed: substitution in a range of lines
In /root/in.txt there are five lines l1..l5. Replace the first letter l with X only in lines 2 through 4. Write the result to /root/out.txt.
What you'll practise:
- sed
- range address
- substitution
- line numbers