2022-01-29 14:01:36 +03:00
|
|
|
#!/bin/sh
|
|
|
|
|
2022-01-13 20:34:59 +03:00
|
|
|
for i in $(cd "$REPODIR" && ls -1 format/*/*.md | sort -t / -k 3); do
|
|
|
|
FORMAT=$(echo "$i" | sed 's#format/.*/\(.*\).md#\1#')
|
|
|
|
echo "### $FORMAT"
|
|
|
|
echo
|
|
|
|
cat "$REPODIR/$i"
|
2022-01-29 14:01:36 +03:00
|
|
|
echo
|
|
|
|
done
|