Threads for ani

  1. 1

    Here’s the solution that I prefer (even though it’s not pure jq):

    sed -E 's:^.+/::' names.txt | jq -R | jq -s 'map({ name: . })'