diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-11-18 13:10:52 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-11-18 13:30:45 +1300 |
commit | 3445cbcb6898c7f19ba82b13f3f5f1f06eb571b3 (patch) | |
tree | a2d3c49e69b8aafbc5de4d355642400a3415b8c4 | |
parent | Update submodules (diff) | |
download | dotfiles-3445cbcb6898c7f19ba82b13f3f5f1f06eb571b3.tar.gz dotfiles-3445cbcb6898c7f19ba82b13f3f5f1f06eb571b3.zip |
Add aesth(6)
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | ISSUES.markdown | 2 | ||||
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | README.markdown | 2 | ||||
-rw-r--r-- | games/aesth.sed | 64 | ||||
-rw-r--r-- | man/man6/aesth.6df | 19 |
6 files changed, 88 insertions, 3 deletions
@@ -11,6 +11,7 @@ bin/su2d bin/tot bin/unf games/acq +games/aesth games/drakon games/kvlt games/rot13 diff --git a/ISSUES.markdown b/ISSUES.markdown index 811f78c7..3ff20fff 100644 --- a/ISSUES.markdown +++ b/ISSUES.markdown @@ -15,5 +15,3 @@ Known issues * A key binding for importing sections of the screen and optionally uploading it would be great, probably using ImageMagick import(1) * sxhkd(1) might be nicer than xbindkeys; it's in Debian Testing now -* Would be cool to have something command-line to translate to those wide - Unicode fonts @@ -96,6 +96,7 @@ clean distclean : bin/tot \ bin/unf \ games/acq \ + games/aesth \ games/drakon \ games/kvlt \ games/rot13 \ @@ -211,7 +212,7 @@ install-finger : install -pm 0644 -- finger/project "$(HOME)"/.project install -pm 0644 -- finger/pgpkey "$(HOME)"/.pgpkey -install-games : games/acq games/drakon games/kvlt games/rot13 games/zs \ +install-games : games/acq games/aesth games/drakon games/kvlt games/rot13 games/zs \ check-games install-games-man install -m 0755 -d -- "$(HOME)"/.local/games for name in games/* ; do \ diff --git a/README.markdown b/README.markdown index 40a914cd..13b6737e 100644 --- a/README.markdown +++ b/README.markdown @@ -481,6 +481,8 @@ There's some silly stuff in `install-games`: * `aaf(6df)` gets a random [ASCII Art Farts](http://www.asciiartfarts.com/) comic. * `acq(6df)` allows you to interrogate AC, the interplanetary computer. +* `aesth(6df)` converts English letters to their fullwidth CJK analogues, for + AESTHETIC PURPOSES. * `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. diff --git a/games/aesth.sed b/games/aesth.sed new file mode 100644 index 00000000..2ff896c0 --- /dev/null +++ b/games/aesth.sed @@ -0,0 +1,64 @@ +# Change English letters, numbers, and spaces to full-width +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/aesth.6df b/man/man6/aesth.6df new file mode 100644 index 00000000..1febe86c --- /dev/null +++ b/man/man6/aesth.6df @@ -0,0 +1,19 @@ +.TH AESTH 6df "August 2016" "Manual page for aesth" +.SH NAME +.B aesth +\- make your text more AESTHETIC +.SH USAGE +.B aesth +/usr/share/dict/words +.br +lynx -dump https://sanctum.geek.nz/ | +.B aesth +.SH DESCRIPTION +.B aesth +converts the 26 letters of the English alphabet, both upper and lower case, to +their full-width text equivalents for the CJK environment from the Basic +Multilingual Plane. +.P +The results are printed in UTF-8; they're hard-coded within the script. +.SH AUTHOR +Tom Ryder <tom@sanctum.geek.nz> |