about summary refs log tree commit diff
path: root/Functions/Misc/randline
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Misc/randline')
-rwxr-xr-xFunctions/Misc/randline3
1 files changed, 0 insertions, 3 deletions
diff --git a/Functions/Misc/randline b/Functions/Misc/randline
deleted file mode 100755
index 7b06b7982..000000000
--- a/Functions/Misc/randline
+++ /dev/null
@@ -1,3 +0,0 @@
-# get a random line from a file
-integer z="$(wc -l <$1)"
-sed -n $[RANDOM%z+1]p $1