016ea27f980e

More
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Tue, 14 Jan 2020 14:30:49 +0000
parents 48a26e13c94f
children 49d2e9100576
branches/tags (none)
files bin/ban

Changes

--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/ban	Tue Jan 14 14:30:49 2020 +0000
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+
+set -euo pipefail
+
+if test "$1" = "-f"; then
+    shift
+    FONT="$1"
+    shift
+else
+    FONT="smslant"
+fi
+
+echo
+toilet -k -t -F gay:crop -f "$FONT" "$@"
+echo