#!/usr/bin/env bash # ssh: get form # jq: show tagline submissions only from the JSON response # uniq: only unique submissions # tac: reverse line order (new submissions start at bottom, ascending order. makes it easier to read from term) # nl: number lines ssh pgs.sh forms superlove_tagline | jq .[].data.tagline -r | uniq | tac | nl