mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-23 17:01:05 +02:00
moved to ./Functions/Example/randline
This commit is contained in:
parent
6937dcd394
commit
440abd8aea
1 changed files with 0 additions and 3 deletions
|
@ -1,3 +0,0 @@
|
||||||
# get a random line from a file
|
|
||||||
integer z="$(wc -l <$1)"
|
|
||||||
sed -n $[RANDOM%z+1]p $1
|
|
Loading…
Reference in a new issue