Archived
1
0
Fork 0
This repository has been archived on 2026-05-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
archived/docs/technical/genindex.sh
2011-01-26 19:19:04 +01:00

21 lines
352 B
Bash
Executable file

#!/bin/sh
if [ $# -lt 1 ]; then
exit 1
fi
(
echo "Archived API Documentation"
echo "--------------------------"
for DOC in `ls *.txt`; do
if [ "$DOC" = "$1" ]; then
continue
fi
display=$(sed -e 1q "${DOC}")
link=${DOC%.txt}.html
echo "* link:${link}[${display}]"
done
) > $1