home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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
+++ b/
home/bin/randline
@@ -0,0
+1,7
@@
+#! /usr/bin/awk -f
+
+BEGIN {srand()}
+
+{lines[n++] = $0}
+
+END {print lines[int(n * rand())]}
This page took
0.036696 seconds
and
4
git commands to generate.