Refactor wallpaper_shuffle
[khome.git] / home / bin / randline
diff --git a/home/bin/randline b/home/bin/randline
new file mode 100755 (executable)
index 0000000..ccd294f
--- /dev/null
@@ -0,0 +1,7 @@
+#! /usr/bin/awk -f
+
+BEGIN {srand()}
+
+{lines[n++] = $0}
+
+END {print lines[int(n * rand())]}
This page took 0.028137 seconds and 4 git commands to generate.