10 STEXI
*|ETEXI
*|SQMP
*|EQMP
*) flag
=$
(($flag^
1))
13 test $flag -eq 1 && printf "%s\n" "$str"
21 if test "$*" != ""; then
22 printf "@subsection %s\n" "$*"
35 if test $flag -eq 1 ; then
36 printf "line %d: syntax error: expected ETEXI, found '%s'\n" "$line" "$str" >&2
42 if test $flag -ne 1 ; then
43 printf "line %d: syntax error: expected STEXI, found '%s'\n" "$line" "$str" >&2
49 if test $flag -eq 1 ; then
50 printf "line %d: syntax error: expected ETEXI, found '%s'\n" "$line" "$str" >&2
55 print_texi_heading
"$(expr "$str" : "DEFHEADING
(\
(.
*\
))")"
58 print_texi_heading
"$(expr "$str" : "ARCHHEADING
(\
(.
*\
),.
*)")"
61 test $flag -eq 1 && printf '%s\n' "$str"
78 if test $flag -eq 1 ; then
79 printf "line %d: syntax error: expected EQMP, found '%s'\n" "$line" "$str" >&2
85 if test $flag -ne 1 ; then
86 printf "line %d: syntax error: expected SQMP, found '%s'\n" "$line" "$str" >&2
92 if test $flag -eq 1 ; then
93 printf "line %d: syntax error: expected EQMP, found '%s'\n" "$line" "$str" >&2
98 test $flag -eq 1 && printf '%s\n' "$str"