From 57e6f0ae0e12b916b7dd6ae5287289afbe45dcaf Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 26 Aug 2023 13:37:50 +0300 Subject: send-package: Minor improvements --- .local/bin/send-package | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to '.local/bin') diff --git a/.local/bin/send-package b/.local/bin/send-package index 86f1244..8c807bd 100755 --- a/.local/bin/send-package +++ b/.local/bin/send-package @@ -5,9 +5,9 @@ readonly tmpl="${XDG_DATA_HOME:-$HOME/.local/share}/send-package/template" sed -En '/^Angel Cakes/,/^Doozies/s/(\t|\s{2,})/\n/gp' ~/doc/tit-names \ - | shuf -n1 \ - | tr A-Z a-z \ - | xargs -I{} -- \ - sed -e "1iTo: `vlt raw Miscellaneous send-package-to`" \ - -e 's/$REPLACEME/{}/' "$tmpl" \ - | smail +| shuf -n1 \ +| tr A-Z a-z \ +| xargs -I{} -- \ + sed -e "1iTo: `vlt raw Miscellaneous send-package-to`" \ + -e 's/$REPLACEME/{}/' "$tmpl" \ +| smail -- cgit v1.2.3