8000 GitHub - tetsuo/tsort-go: Go port of the tsort utility from GNU Coreutils
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tetsuo/tsort-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tsort-go

A Go port of the tsort utility from GNU Coreutils. It performs a topological sort using Algorithm T from Knuth's The Art of Computer Programming, Volume 1.

Usage

tsort-go [OPTION] [FILE]

Write totally ordered list consistent with the partial ordering in FILE. With no FILE, or when FILE is -, read standard input.

Example

tsort-go <<EOF
a b c
d
e f
b c d e
EOF

will produce the output

a
b
c
d
e
f

For detailed information on the tsort command invocation, see the GNU Coreutils manual.

License

GPL-3.0

About

Go port of the tsort utility from GNU Coreutils

Resources

Licens 5220 e

Stars

Watchers

Forks

Packages

No packages published

Languages

0