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