diff options
| author | Karlo Miličević <karlo98.m@gmail.com> | 2025-05-29 20:12:47 +0200 |
|---|---|---|
| committer | Karlo Miličević <karlo98.m@gmail.com> | 2025-05-29 20:12:47 +0200 |
| commit | 03860d2a744368b3514087943f2694485e56224d (patch) | |
| tree | 1dddb2d5bb4aaffa51dfcff7632a23fe26bc37b1 /graph.sh | |
Diffstat (limited to 'graph.sh')
| -rwxr-xr-x | graph.sh | 6 |
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 - |
