Changeset 53d804ff in rtems


Ignore:
Timestamp:
Mar 16, 1998, 5:06:12 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
34683fee
Parents:
4936b65
Message:

summarize now generates a nicely formatted function status summary.

Location:
doc/posix1003.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/posix1003.1/Makefile

    r4936b65 r53d804ff  
    144144
    145145ch19.t: ch01.t ch02.t ch03.t ch04.t ch05.t ch06.t ch07.t ch08.t ch09.t \
    146         ch10.t ch11.t ch12.t ch13.t ch14.t ch15.t ch16.t ch17.t ch18.t
     146        ch10.t ch11.t ch12.t ch13.t ch14.t ch15.t ch16.t ch17.t ch18.t \
     147        summarize
    147148        ./summarize >ch19.t
    148149
  • doc/posix1003.1/summarize

    r4936b65 r53d804ff  
    1919        -e "s/$/ Chapter/"
    2020  echo
    21   num_functions=`grep "()" $1 | wc -l`
    22   echo "Functions: ${num_functions}"
     21  functions_total=`grep "()" $1 | wc -l`
     22  functions_implemented=`grep "()" $1 | grep Implemented | wc -l`
     23  functions_unimplemented=`grep "()" $1 | grep Unimplemented | wc -l`
     24  functions_unmplementable=`grep "()" $1 | grep Unimplementable | wc -l`
     25
     26  echo "@example"
     27  echo "Total Number of Functions: ${functions_total} @*"
     28  echo "Functions Implemented    : ${functions_implemented} @*"
     29  echo "Functions Unimplemented  : ${functions_unimplemented} @*"
     30  echo "Functions Unimplementable: ${functions_unmplementable} @*"
     31  echo "@end example"
    2332  echo
    2433}
Note: See TracChangeset for help on using the changeset viewer.