summaryrefslogtreecommitdiffstats
path: root/doc/posix1003.1/summarize
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-16 17:06:12 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-16 17:06:12 +0000
commit53d804ff91d9f9efd08905023afd8f592ba7d522 (patch)
treeb4b843684719bc5d4dc7c70b5bfa56e0a03f5928 /doc/posix1003.1/summarize
parentFunction implmentation status information correct. (diff)
downloadrtems-53d804ff91d9f9efd08905023afd8f592ba7d522.tar.bz2
summarize now generates a nicely formatted function status summary.
Diffstat (limited to '')
-rwxr-xr-xdoc/posix1003.1/summarize13
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/posix1003.1/summarize b/doc/posix1003.1/summarize
index 989d4bfa2f..545d3e4700 100755
--- a/doc/posix1003.1/summarize
+++ b/doc/posix1003.1/summarize
@@ -18,8 +18,17 @@ summarize_chapter()
sed -e "s/^.chapter/@section/" \
-e "s/$/ Chapter/"
echo
- num_functions=`grep "()" $1 | wc -l`
- echo "Functions: ${num_functions}"
+ functions_total=`grep "()" $1 | wc -l`
+ functions_implemented=`grep "()" $1 | grep Implemented | wc -l`
+ functions_unimplemented=`grep "()" $1 | grep Unimplemented | wc -l`
+ functions_unmplementable=`grep "()" $1 | grep Unimplementable | wc -l`
+
+ echo "@example"
+ echo "Total Number of Functions: ${functions_total} @*"
+ echo "Functions Implemented : ${functions_implemented} @*"
+ echo "Functions Unimplemented : ${functions_unimplemented} @*"
+ echo "Functions Unimplementable: ${functions_unmplementable} @*"
+ echo "@end example"
echo
}