diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-04 00:00:37 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-04 00:04:23 +1200 |
commit | 733a772edb92e47edd991af669c3da8807acb706 (patch) | |
tree | a21639f402802c0f8a5db9aeafe732648cd35438 /games/zs | |
parent | Add seed validation to rndn(8) (diff) | |
download | dotfiles-733a772edb92e47edd991af669c3da8807acb706.tar.gz dotfiles-733a772edb92e47edd991af669c3da8807acb706.zip |
Prevent zs(6) from making "zs" into "zzs"
Diffstat (limited to 'games/zs')
-rwxr-xr-x | games/zs | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 |