summaryrefslogtreecommitdiff
path: root/graph.sh
diff options
context:
space:
mode:
authorKarlo Miličević <karlo98.m@gmail.com>2025-05-29 20:12:47 +0200
committerKarlo Miličević <karlo98.m@gmail.com>2025-05-29 20:12:47 +0200
commit03860d2a744368b3514087943f2694485e56224d (patch)
tree1dddb2d5bb4aaffa51dfcff7632a23fe26bc37b1 /graph.sh
Initial commitHEADmaster
Diffstat (limited to 'graph.sh')
-rwxr-xr-xgraph.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/graph.sh b/graph.sh
new file mode 100755
index 0000000..da8f49c
--- /dev/null
+++ b/graph.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+(
+ echo "digraph {"
+ grep ' ' | sed 's/\(.*\) \(.*\)/\t\2->\1;/'
+ echo "}"
+) | dot -Tpng | feh -