Last active 1 day ago

Revision 67a37ee056cc97ba6dd88a14c82271f573fc763b

tagline.sh Raw
1#!/usr/bin/env bash
2
3# ssh: get form
4# jq: show tagline submissions only from the JSON response
5# uniq: only unique submissions
6# tac: reverse line order (for numbering purposes later)
7# nl: number lines
8# tac: reverse numbering order (start from highest instead of `1`)
9
10ssh pgs.sh forms superlove_tagline | jq .[].data.tagline -r | uniq | tac | nl | tac