Skip to content

Latest commit

 

History

History

random-line

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Name

random-line - returns a random line from stdin

Description

random-line reads stdin and prints one random line when there is no more data to read.

Example

% seq 10 | random-line
6

License

This is free software, distributed under the WTFPL 2.0.