summaryrefslogtreecommitdiff
path: root/Documentation/howto-index.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/howto-index.sh')
-rwxr-xr-xDocumentation/howto-index.sh26
1 files changed, 24 insertions, 2 deletions
diff --git a/Documentation/howto-index.sh b/Documentation/howto-index.sh
index 3a6afb9f6a..f9d3e57a91 100755
--- a/Documentation/howto-index.sh
+++ b/Documentation/howto-index.sh
@@ -20,8 +20,30 @@ do
s/[ ]*$//
s/^/by /
p
+ }
+ ' "$txt"`
+
+ abstract=`sed -ne '
+ /^Abstract:[ ]/{
+ s/^[^ ]*//
+ x
+ s/.*//
+ x
+ : again
+ /^[ ]/{
+ s/^[ ]*//
+ H
+ n
+ b again
+ }
+ x
+ p
+ q
}' "$txt"`
- echo "
- * link:$txt[$title] $from"
+
+ echo "* link:$txt[$title] $from
+$abstract
+
+"
done