Hands-on task
This task is step 23 of the course “JSON, YAML and XML in the terminal”
Select by Condition
In /root/catalog.xml, books have a price (price). Find the title (title) of the book that costs more than 40 and write it to /root/expensive.txt (there is exactly one such book).
What you'll practise:
- xmlstarlet
- xpath
- predicates
- numeric conditions
- xml