aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/slw47
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