summaryrefslogtreecommitdiff
path: root/john_pnm.cgi
blob: 2e3ba3ac475ed959cf81b8ec7560508b3fa08bf6 (plain)
1
2
3
4
5
6
7
#!/bin/sh

JOHN_DIR="/home/rebecca/shed/gnom/john/ads"

johnfile="$JOHN_DIR/$(ls "$JOHN_DIR"|shuf -n1)"
anytopnm <"$johnfile" | ppmtoppm | pnmscale -height=114