>_ IzzyLab

Topic breakdown

jq is a filter language for JSON: you describe the path to the data, and the engine walks the structure and extracts it. A filter is built from building blocks: the dot . is the whole document, empty brackets [] expand an array into a stream of elements, and .field takes the value from each element-object. To land bare strings in the file without surrounding quotes, you enable raw output mode (-r), otherwise strings are printed as JSON literals.

What's checked

  1. emails.txt has all the addresses
  2. all addresses dumped without quotes

What it looks like