tsort(1) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

tsort(1)

tsort(1)                         User Commands                        tsort(1)



NAME
       tsort - topological sort

SYNOPSIS
       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 (non-empty strings) separated by
       blanks. Pairs of different items indicate ordering. 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(7) for descriptions of the following environment  variables
       that  affect  the  execution  of tsort: LANG, LC_ALL, LC_CTYPE, LC_MES‐
       SAGES, and NLSPATH.

EXIT STATUS
       The following exit values are returned:

       0     Successful completion.


       >0    An error occurred.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE VALUE _ Availabilitysystem/core-os _ Interface StabilityCommit‐
       ted _ StandardSee standards(7).


SEE ALSO
       lorder(1), attributes(7), environ(7), standards(7)

DIAGNOSTICS
       Odd data: there are an odd number of fields in the input file.



Oracle Solaris 11.4               8 Jun 2011                          tsort(1)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3