summaryrefslogtreecommitdiffstats
path: root/doc/posix1003.1/summarize
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-16 16:15:32 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-16 16:15:32 +0000
commite7acb6028a1186e152df62d199f5ebf1123798f6 (patch)
tree85eebb129a7d3eb0dba4a9a6251db760643b74ac /doc/posix1003.1/summarize
parentFix from Chris Johns for inconsistent invocation of make. (diff)
downloadrtems-e7acb6028a1186e152df62d199f5ebf1123798f6.tar.bz2
First time summary chapter is included in the document.
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}"