diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-05-26 18:20:40 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-05-26 18:20:40 +0000 |
commit | 110bdfe6940c766b7960b68ab36f761e2d3d279a (patch) | |
tree | a2778aa6d0bac672c5e3c7a00523f4b770f5b626 /doc/itron3.0/gen_section | |
parent | Prototypes are now based on how the TRON specification states them. (diff) | |
download | rtems-110bdfe6940c766b7960b68ab36f761e2d3d279a.tar.bz2 |
Made the gen_section more accurate.
Diffstat (limited to 'doc/itron3.0/gen_section')
-rw-r--r-- | doc/itron3.0/gen_section | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/itron3.0/gen_section b/doc/itron3.0/gen_section index ba30637d37..27ce450877 100644 --- a/doc/itron3.0/gen_section +++ b/doc/itron3.0/gen_section @@ -126,7 +126,7 @@ echo "@itemize @bullet" for routine in ${ROUTINES} do - description=`grep ${routine} ../../itron_spec/itron3-1.txt | grep "]" | cut -d']' -f2` + description=`grep " ${routine} " ../../itron_spec/itron3-1.txt | grep "]" | cut -d']' -f2 ` description=`echo ${description}` echo "@item @code{${routine}} - ${description}" done @@ -148,14 +148,14 @@ echo "" for routine in ${ROUTINES} do description=`grep ${routine} ../../itron_spec/itron3-1.txt | grep "]" | cut -d']' -f2` - description=`echo ${description}` + description=`echo -n ${description}` echo "" echo "@c" echo "@c ${routine}" echo "@c" echo "" echo "@page" - echo "@subsection ${routine} - ${description}" + echo "@subsection ${routine} - " ${description} echo "" echo "@subheading CALLING SEQUENCE:" echo "" @@ -163,7 +163,7 @@ do echo "@example" proto=`grep "${routine} (" ../../itron_spec/itron3-6.txt | sed -e 's/ercd = //'` # | sed -e 's/ \\(/(/'` - echo `echo ${proto} | cut -d'(' -f1`"(" + echo `echo -n ${proto} | cut -d'(' -f1`"(" echo ${proto} | cut -d'(' -f2 | sed -e 's/ .;//' echo ");" # echo "int ${routine}(" |