|
|
boom - various - Various utilities developed at bitreich. |
|
|
 |
git clone git://bitreich.org/various/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/various/ (git://bitreich.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
Tags |
|
|
|
--- |
|
|
|
boom (286B) |
|
|
|
--- |
|
|
|
1 #!/bin/sh |
|
|
|
2 # biniar's obvious objective measurement – boom |
|
|
|
3 # |
|
|
|
4 # Boom me, if you can. |
|
|
|
5 # by 20h |
|
|
|
6 # |
|
|
|
7 |
|
|
|
8 toiletargs="-f big -F gay" |
|
|
|
9 |
|
|
|
10 eval "$@" |
|
|
|
11 returnval="$?" |
|
|
|
12 |
|
|
|
13 if [ $returnval -gt 0 ]; |
|
|
|
14 then |
|
|
|
15 printf "NO BOOM!!!!\n" | toilet $toiletargs |
|
|
|
16 else |
|
|
|
17 printf "BOOM!!!!\n" | toilet $toiletargs |
|
|
|
18 fi |
|
|
|
19 |
|
|
|
20 exit $? |
|
|
|
21 |
|