compress CR-LF to LF by default; -u flag prints the CR as "^M"
[unix-history] / usr / src / old / symorder / symorder.1
.\" Copyright (c) 1980 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms are permitted
.\" provided that the above copyright notice and this paragraph are
.\" duplicated in all such forms and that any documentation,
.\" advertising materials, and other materials related to such
.\" distribution and use acknowledge that the software was developed
.\" by the University of California, Berkeley. The name of the
.\" University may not be used to endorse or promote products derived
.\" from this software without specific prior written permission.
.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
.\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
.\" @(#)symorder.1 6.2 (Berkeley) %G%
.\"
.TH SYMORDER 1 ""
.UC
.SH NAME
symorder \- rearrange name list
.SH SYNOPSIS
.B symorder
orderlist symbolfile
.SH DESCRIPTION
.I Orderlist
is a file containing symbols to be found in symbolfile,
1 symbol per line.
.PP
.I Symbolfile
is updated in place to put the requested symbols first
in the symbol table, in the order specified. This is done
by swapping the old symbols in the required spots with the
new ones. If all of the order symbols are not found, an
error is generated.
.PP
This program was specifically designed to cut down on the
overhead of getting symbols from /vmunix.
.SH "SEE ALSO"
nlist(3)