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

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

johnfile="$JOHN_DIR/$(ls "$JOHN_DIR"|shuf -n1)"
johnfile="/home/rebecca/shed/gnom/john/ads/john-alt.png"
anytopnm <"$johnfile" | ppmtoppm | pnmscale -height=114