outline how minds work

This commit is contained in:
2024-06-05 23:58:15 +02:00
parent 12c9936e19
commit d399e2df9d
4 changed files with 79 additions and 0 deletions

13
Mechanics/parse.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
target="$1"
while read -r line; do
echo "$line" | grep -q '^.so ' && \
file="$(echo "$line" | grep '^.so ' | cut -d' ' -f2 )" && \
[ -e "$file" ] && \
echo '```graph' && \
cat "$file" | graph-easy --boxart && \
echo '```' || \
echo "$line"
done < "$target"