diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-12 15:16:05 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-12 15:16:05 +1300 |
commit | 74a7c6e3f3c323624607e1a375461d93605b1880 (patch) | |
tree | 0a1274c98ac01fd79ff666de2a59bbed087ddac5 | |
parent | Add correction to aesth(6df) man page (diff) | |
download | dotfiles-74a7c6e3f3c323624607e1a375461d93605b1880.tar.gz dotfiles-74a7c6e3f3c323624607e1a375461d93605b1880.zip |
Add strik(6df)
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | README.markdown | 1 | ||||
-rw-r--r-- | games/strik.sed | 64 | ||||
-rw-r--r-- | man/man6/strik.6df | 19 |
5 files changed, 88 insertions, 2 deletions
@@ -20,6 +20,7 @@ games/aesth games/drakon games/kvlt games/rot13 +games/strik games/zs git/gitconfig gnupg/gpg.conf @@ -110,6 +110,7 @@ clean distclean : games/drakon \ games/kvlt \ games/rot13 \ + games/strik \ games/zs \ git/gitconfig \ gnupg/gpg.conf \ @@ -223,8 +224,8 @@ install-finger : install -pm 0644 -- finger/project "$(HOME)"/.project install -pm 0644 -- finger/pgpkey "$(HOME)"/.pgpkey -install-games : games/acq games/aesth games/drakon games/kvlt games/rot13 games/zs \ - check-games install-games-man +install-games : games/acq games/aesth games/drakon games/kvlt games/rot13 \ + games/strik games/zs check-games install-games-man install -m 0755 -d -- "$(HOME)"/.local/games for name in games/* ; do \ [ -x "$$name" ] || continue ; \ diff --git a/README.markdown b/README.markdown index 33205d9c..2e3b3e1f 100644 --- a/README.markdown +++ b/README.markdown @@ -503,6 +503,7 @@ There's some silly stuff in `install-games`: * `kvlt(6df)` translates input to emulate a style of typing unique to black metal communities on the internet. * `rndn(6df)` implements an esoteric random number generation algorithm. +* `strik(6df)` outputs s̶t̶r̶i̶k̶e̶d̶ ̶o̶u̶t̶ struck out text. * `rot13(6df)` rotates the Latin letters in its input. * `xyzzy(6df)` teleports to a marked location on the filesystem. * `zs(6df)` prepends "z" case-appropriately to every occurrence of "s" in the diff --git a/games/strik.sed b/games/strik.sed new file mode 100644 index 00000000..bc1cbdc5 --- /dev/null +++ b/games/strik.sed @@ -0,0 +1,64 @@ +# Strike out text +s/a/a̶/g +s/b/b̶/g +s/c/c̶/g +s/d/d̶/g +s/e/e̶/g +s/f/f̶/g +s/g/g̶/g +s/h/h̶/g +s/i/i̶/g +s/j/j̶/g +s/k/k̶/g +s/l/l̶/g +s/m/m̶/g +s/n/n̶/g +s/o/o̶/g +s/p/p̶/g +s/q/q̶/g +s/r/r̶/g +s/s/s̶/g +s/t/t̶/g +s/u/u̶/g +s/v/v̶/g +s/w/w̶/g +s/x/x̶/g +s/y/y̶/g +s/z/z̶/g +s/A/A̶/g +s/B/B̶/g +s/C/C̶/g +s/D/D̶/g +s/E/E̶/g +s/F/F̶/g +s/G/G̶/g +s/H/H̶/g +s/I/I̶/g +s/J/J̶/g +s/K/K̶/g +s/L/L̶/g +s/M/M̶/g +s/N/N̶/g +s/O/O̶/g +s/P/P̶/g +s/Q/Q̶/g +s/R/R̶/g +s/S/S̶/g +s/T/T̶/g +s/U/U̶/g +s/V/V̶/g +s/W/W̶/g +s/X/X̶/g +s/Y/Y̶/g +s/Z/Z̶/g +s/0/0̶/g +s/1/1̶/g +s/2/2̶/g +s/3/3̶/g +s/4/4̶/g +s/5/5̶/g +s/6/6̶/g +s/7/7̶/g +s/8/8̶/g +s/9/9̶/g +s/ / ̶/g diff --git a/man/man6/strik.6df b/man/man6/strik.6df new file mode 100644 index 00000000..3d5840a7 --- /dev/null +++ b/man/man6/strik.6df @@ -0,0 +1,19 @@ +.TH STRIK 6df "August 2016" "Manual page for strik" +.SH NAME +.B strik +\- strike out text +.SH USAGE +.B strik +/usr/share/dict/words +.br +lynx -dump https://sanctum.geek.nz/ | +.B strik +.SH DESCRIPTION +.B strik +converts the 26 letters of the English alphabet, both upper and lower case, the +Arabic numerals, and the space character to their equivalents with a Unicode +strikethrough. +.P +The results are printed in UTF-8; they're hard-coded within the script. +.SH AUTHOR +Tom Ryder <tom@sanctum.geek.nz> |