mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-26 04:30:27 +01: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…
Add table
Add a link
Reference in a new issue