Hands-on task
This task is step 16 of the course “Regular expressions”
Tabs to spaces
In /root/tabbed.txt the indentation uses tabs. Replace every tab with 4 spaces and write the result to /root/spaced.txt.
Reference:sed
What you'll practise:
- sed
- expand
- tab character
- escape sequences
- indentation