Request: group the words by their first letter
Input:
apple
avocado
banana
cherry
jq program: group_by(.[0:1])
Output:
apple
avocado
banana
cherry