|
Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!
User Commands tsort(1)
NAME
tsort - topological sort
SYNOPSIS
/usr/ccs/bin/tsort [file]
DESCRIPTION
The tsort command produces on the standard output a totally
ordered list of items consistent with a partial ordering of
items mentioned in the input file.
The input consists of pairs of items (nonempty strings)
separated by blanks. Pairs of different items indicate ord-
ering. Pairs of identical items indicate presence, but not
ordering.
OPERANDS
The following operand is supported:
file A path name of a text file to order. If no file
operand is given, the standard input is used.
EXAMPLES
Example 1: An example of the tsort command
The command:
example% tsort <<EOF
a b c c d e
g g
f g e f
EOF
produces the output:
a
b
c
d
e
f
g
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment
variables that affect the execution of tsort: LANG, LC_ALL,
LC_CTYPE, LC_MESSAGES, and NLSPATH.
EXIT STATUS
SunOS 5.10 Last change: 1 Feb 1995 1
User Commands tsort(1)
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | SUNWbtool |
|_____________________________|_____________________________|
| Interface Stability | Standard |
|_____________________________|_____________________________|
SEE ALSO
lorder(1), attributes(5), environ(5), standards(5)
DIAGNOSTICS
Odd data: there are an odd number of fields in the input
file.
SunOS 5.10 Last change: 1 Feb 1995 2
Man(1) output converted with
man2html and wrapped by fishsponge
This page was generated on Wed Sep 12 11:25:34 GMT 2007
|
Your favourite pages:
No pages logged yet. Trying to save cookie... Top 10 most popular pages:
sqlite3 man page (5334 hits) (openSUSE 10.2)
svn man page (5209 hits) (FreeBSD 6.2)
adv_cap_autoneg man page (4870 hits) (Solaris 10 11_06)
CPAN man page (4607 hits) (Suse Linux 10.1)
ssh man page (4342 hits) (Suse Linux 10.1)
ssh-socks5-proxy-connect man page (2885 hits) (Solaris 10 11_06)
netcat man page (2717 hits) (Suse Linux 10.1)
pprosetup man page (2493 hits) (Solaris 10 11_06)
startproc man page (2471 hits) (Suse Linux 10.1)
signal man page (2408 hits) (Suse Linux 10.1)
|