summaryrefslogtreecommitdiff
path: root/john_pnm.cgi
blob: dab1d2e2e371a01d2211e592ac1f88001e1799c0 (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="${1:-$johnfile}"
anytopnm <"$johnfile" | ppmtoppm | pnmscale -height=114