Table of Contents

Name

randomize - randomize the lines in a text file (ERP tools)

Synopsis

randomize inputfile [lines_per_block]

Description

randomize reads the lines in inputfile, randomizes them, and sends them to standard output.

Options

lines_per_block
The number of lines to group together as a block, and keep together during randomization. For example, if lines_per_block is given as 4, every four lines of the input file are kept together as a block, and the blocks are then randomized. The number of lines in the inputfile must be a multiple of lines_per_block. The default lines_per_block is 1.

See Also

rand(3)

Author

Paul Krewski


Table of Contents