1
1
mirror of https://github.com/wader/fq.git synced 2024-11-27 14:14:58 +03:00
fq/doc/formats_collect.sh

10 lines
207 B
Bash
Raw Normal View History

2022-01-29 14:01:36 +03:00
#!/bin/sh
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