1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-01 14:57:52 +01:00
git/Documentation/howto-index.sh
Junio C Hamano e6fc2346c1 Link howto documents from the main git.txt documentation.
Signed-off-by: Junio C Hamano <junkio@cox.net>
2005-08-25 00:28:18 -07:00

27 lines
370 B
Bash
Executable file

#!/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