diff options
Diffstat (limited to '')
-rwxr-xr-x | doc/posix1003.1/summarize | 4 |
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}" |