Add boom(1) utility to boom utilities. - various - Various utilities developed at bitreich. HTML git clone git://bitreich.org/various/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/various/ DIR Log DIR Files DIR Refs DIR Tags --- DIR commit 60e95834bb4be6fbcc59b7191737c2bbdc9c8928 DIR parent 0fd0ba5c0a34e5d172dd615379d1dba5a155e4fc HTML Author: Christoph Lohmann <20h@r-36.net> Date: Sun, 7 Jul 2019 19:12:25 +0200 Add boom(1) utility to boom utilities. Thanks biniar, for the idea! Diffstat: A boom | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+), 0 deletions(-) --- DIR diff --git a/boom b/boom @@ -0,0 +1,18 @@ +#!/bin/sh +# +# Boom me, if you can. +# by 20h +# + +toiletargs="-f big -F gay" + +eval "$@" +returnval="$?" + +if [ $returnval -gt 0 ]; +then + printf "NO BOOM!!!!\n" | toilet $toiletargs +else + printf "BOOM!!!!\n" | toilet $toiletargs +fi +