summaryrefslogtreecommitdiff
path: root/log-211006-1.gmi
diff options
context:
space:
mode:
authortslil clingman <>2021-10-06 18:13:55 -0400
committertslil clingman <>2021-10-06 18:29:14 -0400
commit849e13bd34d55d4a98b6463a5826683053995df7 (patch)
tree3fd0c163104cc0f2173087f82258872160c47c36 /log-211006-1.gmi
parentc033f2027c77de113cf9f1dc24292dd1d8803ddb (diff)
Fixed an important bug!
Diffstat (limited to 'log-211006-1.gmi')
-rw-r--r--log-211006-1.gmi10
1 files changed, 5 insertions, 5 deletions
diff --git a/log-211006-1.gmi b/log-211006-1.gmi
index 81daed1..3117f4f 100644
--- a/log-211006-1.gmi
+++ b/log-211006-1.gmi
@@ -1,4 +1,4 @@
-Time-stamp: <2021-10-06 13h16 UTC>
+Time-stamp: <2021-10-06 22h28 UTC>
# Play Tak against a bot over Gemini!
@@ -12,10 +12,10 @@ At present i've attempted to limit the server to running 10 instances of the bot
#!/bin/bash
META="text/gemini; charset=utf-8"
-input="${QUERY_STRING//[^abcde12345CFW+\-><]/}"
+input="${QUERY_STRING//[^abcde12345CFS+\-><]/}"
if [ -n "$input" ]; then
- new_ptn="${PATH_INFO//[^abcde12345CFW.+\-LR]/}"
- new_ptn="$(echo ${new_ptn} | tr 'LR' '<>')"
+ new_ptn="${PATH_INFO//[^abcde12345CFS.+\-LR]/}"
+ new_ptn=$(echo $new_ptn | tr 'LR' '<>')
printf '20 %s\r\n' "$META"
printf '```\n'
while [ "$(pgrep geminict | wc -l)" > "10" ]; do
@@ -32,7 +32,7 @@ if [ -n "$input" ]; then
printf '```\n'
echo 'Please be patient, ct1986 is a slow bot and no more than 10 instances are allowed concurrently on the server.'
echo "=> gemini://l-3.space/tak/$new_ptn/ Enter ply"
- echo 'Note: all input is stripped to match only [abcde12345CFW+-<>].'
+ echo 'Note: all input is stripped to match only [abcde12345CFS+-<>].'
else
printf "10 Enter ply:\r\n"
fi;