summaryrefslogtreecommitdiff
path: root/john_pnm.cgi
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-04-01 04:42:11 +0100
committerubq323 <ubq323@ubq323.website>2024-04-01 04:42:11 +0100
commit39f41e37ae5c6d4fc5b9dc3a6c1d54807e916338 (patch)
tree989727ec25b0b2e08d1436dcbd5eea91e1e17b9e /john_pnm.cgi
parentbff48a961d5592afbb0ec6c4aa48ce2eee0383bc (diff)
launch john
Diffstat (limited to 'john_pnm.cgi')
-rwxr-xr-xjohn_pnm.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/john_pnm.cgi b/john_pnm.cgi
index 2e3ba3a..dab1d2e 100755
--- a/john_pnm.cgi
+++ b/john_pnm.cgi
@@ -3,5 +3,6 @@
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