summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-06-17 17:48:40 -0400
committerJune McEnroe <june@causal.agency>2020-06-17 17:48:40 -0400
commit538bea3f11f2a20281cb62a005f34125cd12ce0d (patch)
tree37c1a0adb84c118043820786c1b67a1cea287f65 /home
parentRemove aes (diff)
downloadsrc-538bea3f11f2a20281cb62a005f34125cd12ce0d.tar.gz
src-538bea3f11f2a20281cb62a005f34125cd12ce0d.zip
Add simpler aes tr script
Diffstat (limited to '')
-rwxr-xr-xhome/.local/bin/aes7
1 files changed, 7 insertions, 0 deletions
diff --git a/home/.local/bin/aes b/home/.local/bin/aes
new file mode 100755
index 00000000..32b52637
--- /dev/null
+++ b/home/.local/bin/aes
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -eu
+
+enwiden() {
+	exec tr ' -~' ' !-~'
+}
+[ $# -gt 0 ] && echo "$*" | enwiden || enwiden
='/src/commit/bin/qf.c?id=867f1c9743e0cecab44b07324ef3108bb0f2160a&follow=1'>Set TABSIZE=4June McEnroe Absolutely indiscriminately. 2022-06-02Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe For some reason I haven't been able to figure out, trying to poll /dev/tty returns POLLNVAL (and this was using 100% CPU looping), but using stderr instead works fine. 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe