>_ IzzyLab

Topic breakdown

In jq, the iterator .[] unpacks an array into a stream of individual elements, which are then passed through a pipe |, just like in the shell. The select(condition) function passes on only the elements for which the condition is true (the comparison operators work as usual), after which the right field is taken from the remaining ones with dot notation. The -r flag prints values without quotes — one per line.

What's checked

  1. names of users older than 30 are output

What it looks like