Link howto documents from the main git.txt documentation.
[git.git] / Documentation / howto-index.sh
1 #!/bin/sh
2
3 cat <<\EOF
4 GIT Howto Index
5 ===============
6
7 Here is a collection of mailing list postings made by various
8 people describing how they use git in their workflow.
9
10 EOF
11
12 for txt
13 do
14         title=`expr "$txt" : '.*/\(.*\)\.txt$'`
15         from=`sed -ne '
16         /^$/q
17         /^From:[        ]/{
18                 s///
19                 s/^[    ]*//
20                 s/[     ]*$//
21                 s/^/by /
22                 p
23         }' "$txt"`
24         echo "
25         * link:$txt[$title] $from"
26
27 done