adjust files to allow more auto-generation

This commit is contained in:
2024-06-09 15:19:12 +02:00
parent 53772cb717
commit 63e1353e5f
3 changed files with 11 additions and 3 deletions

View File

@@ -1,13 +0,0 @@
#!/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"