Add boom(1) utility to boom utilities. - various - Various utilities developed … | |
git clone git://bitreich.org/various/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinw… | |
Log | |
Files | |
Refs | |
Tags | |
--- | |
commit 60e95834bb4be6fbcc59b7191737c2bbdc9c8928 | |
parent 0fd0ba5c0a34e5d172dd615379d1dba5a155e4fc | |
Author: Christoph Lohmann <[email protected]> | |
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(-) | |
--- | |
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 | |
+ |