Changeset aedf452 in rtems


Ignore:
Timestamp:
Mar 16, 1998, 6:08:25 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
3349409
Parents:
34683fee
Message:

Cleaned up format and added data types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/posix1003.1/summarize

    r34683fee raedf452  
    1313echo
    1414
     15wc2()
     16{
     17  grep "$1" $2 | wc -l
     18}
     19
     20wc3()
     21{
     22  grep "$1" $2 | grep "$3" | wc -l
     23}
     24
    1525summarize_chapter()
    1626{
     
    1929        -e "s/$/ Chapter/"
    2030  echo
    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`
     31
     32  functions_total=`wc2 "()" $1 `
     33  functions_implemented=`wc3 "()" $1 "Implemented"`
     34  functions_unimplemented=`wc3 "()" $1 "Unimplemented"`
     35  functions_unmplementable=`wc3 "()" $1 "Unimplementable"`
     36  functions_dummy=`wc3 "()" $1 "Dummy Implementation"`
     37  functions_untested=`wc3 "()" $1 "Untested Implementation"`
     38
     39  datatypes_total=`grep "Type," $1 | wc -l`
     40  datatypes_implemented=`grep "Type," $1 | grep Implemented | wc -l`
     41  datatypes_unimplemented=`grep "Type," $1 | grep Unimplemented | wc -l`
     42  datatypes_unmplementable=`grep "Type," $1 | grep Unimplementable | wc -l`
    2543
    2644  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} @*"
     45  echo "Functions:"
     46  echo "    Total Number   : ${functions_total}"
     47  echo "    Implemented    : ${functions_implemented}"
     48  echo "    Unimplemented  : ${functions_unimplemented}"
     49  echo "    Unimplementable: ${functions_unmplementable}"
     50  echo "    Working Dummies: ${functions_dummy}"
     51  echo "    Untested       : ${functions_untested}"
     52  echo "@end example"
     53  echo
     54
     55  echo "@example"
     56  echo "Data Types:"
     57  echo "    Total Number   : ${datatypes_total}"
     58  echo "    Implemented    : ${datatypes_implemented}"
     59  echo "    Unimplemented  : ${datatypes_unimplemented}"
     60  echo "    Unimplementable: ${datatypes_unmplementable}"
    3161  echo "@end example"
    3262  echo
Note: See TracChangeset for help on using the changeset viewer.