Project Home


Table of Contents


Selects a subset of a set of random lines of a set of files. The files are to be read are specified on the cmdline, or the lines from stdin if no files are specified on the cmdline.

See 'rl' for a C program that does something similar to this script:


random-subset [<options>] [<file> ...]

Please Donate!


This computer program or library is provided for free. I am aware that some of the programs that I provide for free allow people to get their work done faster or better, save them time and money. If you are using this program for benefit, especially if you are using it within a commercial environment and it saves you time or work, please consider making a donation by sending me a book from my Amazon Wishlist or by a direct donation to my company's PayPal account by clicking on the link below.


Download program here.