debian man page for unsort

Query: unsort

OS: debian

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

UNSORT(1)						    BSD General Commands Manual 						 UNSORT(1)

NAME
unsort -- reorder lines in a file in semirandom ways
SYNOPSIS
unsort [-hvrpncmMsz0l] [--help] [--version] [--random] [--heuristic] [--identity] [--concatenate] [--merge] [--merge-random] [--seed integer] [--zero-terminated] [--null] [--linefeed] [file ...]
DESCRIPTION
unsort prints the lines in the input files (or standard input) in semi-random order. Available algorithms are a Mersenne Twister based PRNG and a heuristic algorithm that aims to create a subjective even distribution. Command line options -h, --help Display a concise summary of the available options and argument syntax. -v, --version Display version and copyright information. -r, --random Use the Mersenne Twister based randomization algorithm. -p, --heuristic Use the heuristic "shuffling" algorithm which permutes the lines in such a way that they're spread more or less evenly in the output. This is the default. -n, --identity Do not reorder lines in the input. Useful if you just want to merge the files. -r, --concatenate Concatenate all input files then apply the shuffling algorithm to the result as a whole. -m, --merge Shuffle all input files seperately then merge the result. Equal-sized files will be merged in the order in which they appear on the command line. -M, --merge-random Shuffle all input files seperately then merge the result. Equal-sized files will be merged in random order. This is the default. -s, --seed integer Use this integer as a seed, instead of random data from the environment. -z, --zero-terminated, -0, --null Lines are terminated with a character. -l, --linefeed Lines are terminated with a character. This is the default.
SEE ALSO
sort(1) Free Software June 1, 2019 Free Software
Related Man Pages
rl(1) - redhat
rl(1) - php
rl(1) - minix
rl(1) - osx
rl(1) - posix
Similar Topics in the Unix Linux Community
awk;sed appending line to previous line....
Merge two non-consecutive lines based on line number or string
Concatenate Several Files to One
Read input files and merge them in given order and write them to input one param or one file
Compare two files and merge into third