summaryrefslogtreecommitdiffstats
path: root/doc/itron3.0/gen_section
diff options
context:
space:
mode:
Diffstat (limited to 'doc/itron3.0/gen_section')
-rw-r--r--doc/itron3.0/gen_section8
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}("