aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgames/zs9
1 files changed, 6 insertions, 3 deletions
diff --git a/games/zs b/games/zs
index 4a36f99a..728156ba 100755
--- a/games/zs
+++ b/games/zs
@@ -1,5 +1,8 @@
#!/bin/sed -f
# Prepend z appropriately to occurrences of s, in order to make fun of bezrend
-s,s,zs,g
-s,S\([a-z]\),Zs\1,g
-s,S,ZS,g
+s,^s,zs,g
+s,^S\([a-z]\),Zs\1,g
+s,^s,ZS,g
+s,\([^zZ]\)s,\1zs,g
+s,\([^zZ]\)S\([a-z]\),\1Zs\2,g
+s,\([^zZ]\)S,\1ZS,g