summaryrefslogtreecommitdiffstats
path: root/doc/posix1003.1/summarize
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xdoc/posix1003.1/summarize4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/posix1003.1/summarize b/doc/posix1003.1/summarize
index 397676c97d..989d4bfa2f 100755
--- a/doc/posix1003.1/summarize
+++ b/doc/posix1003.1/summarize
@@ -14,7 +14,9 @@ echo
summarize_chapter()
{
- grep "^@chapter" $1 | sed -e "s/^.chapter/@section/"
+ grep "^@chapter" $1 | \
+ sed -e "s/^.chapter/@section/" \
+ -e "s/$/ Chapter/"
echo
num_functions=`grep "()" $1 | wc -l`
echo "Functions: ${num_functions}"