Hands-on task
This task is step 28 of the course “Regular expressions”
Rewrite the date format
/root/dates.txt has dates in the DD/MM/YYYY format. Convert them to YYYY-MM-DD and write the result to /root/iso.txt.
What you'll practise:
- sed
- regular expressions
- capture groups
- backreferences
- date format