From e7acb6028a1186e152df62d199f5ebf1123798f6 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 16 Mar 1998 16:15:32 +0000 Subject: First time summary chapter is included in the document. --- doc/posix1003.1/summarize | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/posix1003.1/summarize') 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}" -- cgit v1.2.3