diff options
author | Himbeer <himbeer@disroot.org> | 2024-06-09 21:22:37 +0200 |
---|---|---|
committer | Himbeer <himbeer@disroot.org> | 2024-06-09 21:22:37 +0200 |
commit | 9bcdc43cd5d3a5eee25cb05cb9e95b006282bdb6 (patch) | |
tree | d486711b08b9753616da3d831446ca4bcbb0c95f | |
parent | 34e3a94f8ad4a5aaecb7c52cd1a8f6f681b4634e (diff) |
Delete slw wrapper for random sl flags
sl and lolcat were already removed so this script is now useless.
-rwxr-xr-x | bin/slw | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/bin/slw b/bin/slw deleted file mode 100755 index 8794a77..0000000 --- a/bin/slw +++ /dev/null @@ -1,47 +0,0 @@ -#! /bin/bash - -rand() { - tr -dc 0-9 < /dev/urandom | head -c 5 | sed 's/^0*//' - echo -} - -reset - -while [ true ]; do - CARS=$(( $(rand) % 16 + 1 )) - FLAGS="" - - if [ $(( $(rand) % 2 )) -gt 0 ]; then - FLAGS="${FLAGS}-a " - fi - - if [ $(( $(rand) % 2 )) -gt 0 ]; then - FLAGS="${FLAGS}-c " - fi - - if [ $(( $(rand) % 2 )) -gt 0 ]; then - FLAGS="${FLAGS}-d " - fi - - if [ $(( $(rand) % 2 )) -gt 0 ]; then - FLAGS="${FLAGS}-F " - fi - - if [ $(( $(rand) % 2 )) -gt 0 ]; then - FLAGS="${FLAGS}-G " - FLAGS=$(echo ${FLAGS} | sed 's/-c //g') - FLAGS=$(echo ${FLAGS} | sed 's/-l //g') - fi - - if [ $(( $(rand) % 2 )) -gt 0 ]; then - FLAGS="${FLAGS}-l " - fi - - if [ $(( $(rand) % 2 )) -gt 0 ]; then - FLAGS="${FLAGS}-w " - fi - - sl -${CARS} ${FLAGS} | lolcat - - sleep 1 -done |