I was curious to see what shell programming with DAGs would look like. You can always mkfifo
and tee
your way to graphdom but I found this quite interesting. I don’t know that it’s practical to use as is - it seems tough to understand and debug these scripts so I think you would want an IDE of sorts to help with that. Nonetheless, the examples are neat and the accompanying graphviz
renderings help to understand.
dgsh
also provides an http server to map requests to commands and files: https://www2.dmst.aueb.gr/dds/sw/dgsh/dgsh-httpval.htmlWho needs Erlang/OTP when you have an OS to manage your processes? ;)
The site’s CSS could use some media queries: https://cloud.mort.coffee/index.php/s/DNLt7PdysZw6Ast/preview
Interesting. The syntax is simple enough to be added to other shells.
I wish all the examples also provided sample outputs of the command being run.
The “Compression benchmark” example has inputs to cat shown in an arbitrary(?) order which was really confusing for me. The actual order is