Add CracklePop script
authorJC <dev@jacobcasper.com>
Fri, 15 Sep 2023 04:23:05 +0000 (23:23 -0500)
committerJC <dev@jacobcasper.com>
Fri, 15 Sep 2023 04:23:05 +0000 (23:23 -0500)
cracklepop.sh [new file with mode: 0755]

diff --git a/cracklepop.sh b/cracklepop.sh
new file mode 100755 (executable)
index 0000000..07e75f8
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+for i in $(seq 1 100); do
+    if [ $((i % 15)) -eq 0 ]; then
+        echo "CracklePop"
+    elif [ $((i % 3)) -eq 0 ]; then
+        echo "Crackle"
+    elif [ $((i % 5)) -eq 0 ]; then
+        echo "Pop"
+    else echo "$i"
+    fi
+done