Skip to content

Instantly share code, notes, and snippets.

View sudocurse's full-sized avatar
🌮
good screen ? bad screen

sudocurse sudocurse

🌮
good screen ? bad screen
View GitHub Profile
#!/bin/bash
#
# Outputs JSON paths.
#
# Based on https://news.ycombinator.com/item?id=20264654
#
# Usage:
# curl -s https://raw.githubusercontent.com/sitepoint-editors/json-examples/master/src/db.json | ./jsonpaths
jq -r --stream '