Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* The previous commit handled the problem of odd input tokens being ignored, but tsort still rejects some valid input * Exit with failure code if close() failed, after printing output * Allow a single token on a line; this is valid as long as the total number of tokens is even * Tested against GNU version %printf "a b\nb\n c\n\n" > in.tsort %tsort in.tsort # tsort (GNU coreutils) 8.32 a b c %perl tsort in.tsort # with patch applied a b c %perl ~/PerlPowerTools.old/bin/tsort in.tsort # from older commit 9d4efce which gets it totally wrong a b
- Loading branch information