jq is a utility for extracting/editing/displaying structured information encoded as json sed is a very versatile program for extracting/editing/displaying information encoded as text. Both of them are quite powerful, but also dificult to use;
this text tries to provide illustrated example of jq processing pipelines. each link in the example will show you an intermedeate result of each processing step.
this text is the same tutorial, but with inline data (no links).
The html was created by this script
This tutorial also made it to the Hacker News front page! link ; I really learned quite a bit from the comments section. Thanks for the feedback.