DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T p

⟦1805540e4⟧ TextFile

    Length: 1553 (0x611)
    Types: TextFile
    Names: »perm.1«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/stat-5.3/eu/stat/man/perm.1« 

TextFile

.TH PERM 1 "May 1986" "\(co 1980 Gary Perlman" "|STAT" "UNIX User's Manual"
.SH NAME
perm \- permute line order
.SH SYNOPSIS
.B perm
[-a | -c | -e | -i | -n] [-r] [-l lines] [-s seed]
.SH DESCRIPTION
.I perm
reads lines from the standard input and prints them in permuted order.
By default, this order is random,
but the order can be sorted numerically or alphabetically with options.
.SH OPTIONS
.de OP
.TP
.B -\\$1 \\$2
..
.OP a
Sort lines by alphabetic ordering.
Initial blank space is not ignored.
.OP c
Use a case-insensitive comparison and sort by alphabetic ordering.
.OP e
Sort lines by exponential (scientific) notation ordering.
Initial blank space is ignored.
This method does true numerical sorting for all numbers,
but is much slower than integer or numerical sorting.
.OP i
Sort lines by integer ordering.
Initial blank space is ignored.
.OP l lines
Set the maximum number of lines to be read.
.OP n
Sort lines by special numeric ordering.
Numbers with decimal points are allowed,
and compared by a special fast sorting algorithm
that is almost as fast as integer sorting.
.OP r
Reverse the order of comparison for sorting options.
.OP s seed
Provide an integer seed for the random number generator.
Otherwise, the seeding is done with the process number and the time,
or, on some systems, by prompting for a seed.
.SH NOTES
The program duplicates some of the
.I sort
program's functions,
but provides true numerical sorting for MSDOS whose
.I sort
only does alphabetic sorts.
.SH LIMITS
Use the -L option to determine the program limits.