[kanchilug] 1D1C - tsort
- From: Dhanasekar <tkdhanasekar@xxxxxxxxx>
- To: ilugc@xxxxxxxxxxxxx, kanchilug@xxxxxxxxxxxxx, ilugd@xxxxxxxxxxxxxxxxxxxx
- Date: Thu, 13 Apr 2023 06:00:00 +0530
tsort - perform topological sort
To perform topological sort
$ cat demo.txt
a b c
d e
f
g z
b c d h
$ tsort demo.txt
To redirect output to a file
$ tsort > demo_out.txt
regards,
T.Dhanasekar
Other related posts:
- » [kanchilug] 1D1C - tsort - Dhanasekar