# Copyright (c) 1988 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
# @(#)lorder.sh 5.1 (Berkeley) %G%
trap "rm -f $$sym?ef; exit" 0 1 2 13 15
0) echo usage
: lorder
file ...
sort $
$symdef -o $
$symdef
sort $
$symref -o $
$symref
join $
$symref $
$symdef |
sed 's/[^ ]* *//'