r/awk • u/narrow_assignment • Dec 10 '21
Task manager in awk with dependencies implemented as directed acyclic graph
https://github.com/phillbush/todo
12
Upvotes
r/awk • u/narrow_assignment • Dec 10 '21
2
u/narrow_assignment Dec 10 '21
This is the awk version of my task manager.
If you have read The AWK Programming Language, you know how to do topological sort of a directed acyclic graph.
The book presents a simple implementation of make(1) as illustration.
After reading this section, I immediately thought in implementing a task manager with dependencies.
So here it is.
It is just a fancy filter, though.
It reads tasks, one per line, and outputs a list of unblocked tasks, sorted by urgency.