I feel like this is normally the content you see in Stack Overflow
Probably best for the code review StackExchange forum, actually.
Might be pretty fun for the code golf stack exchange too!
21–27 of 27 posts
jq -c -r '.[] | .id_str'
# Can be rewritten to
jq -r '.[].id_str'
jq -c -r '.[] | .id_str' | head -10 | tail -1
# Can be rewritten to
jq -r '.[9].id_str'jq -c -r '.[] | .id_str' # Can be rewritten to jq -r '.[].id_str' jq -c -r '.[] | .id_str' | head -10 | tail -1 # Can be rewritten to jq -r '.[9].id_str'
You might consider putting this in a GitHub Gist, sharing the link for it, and accept comments and improvements within the Gist comments functionality. This would also allow others to fork your code to improve upon or keep a copy for themselves.
Great idea, thanks! https://gist.github.com/nerdcha/3e811ef28d04561f73337e46267a...