10 STEXI
*|ETEXI
*) flag
=$
(($flag^
1))
13 test $flag -eq 1 && printf "%s\n" "$str"
21 if test "$*" != ""; then
23 printf "@subsection %s\n" "${title%:}"
36 if test $flag -eq 1 ; then
37 printf "line %d: syntax error: expected ETEXI, found '%s'\n" "$line" "$str" >&2
43 if test $flag -ne 1 ; then
44 printf "line %d: syntax error: expected STEXI, found '%s'\n" "$line" "$str" >&2
50 print_texi_heading
"$(expr "$str" : "DEFHEADING
(\
(.
*\
))")"
53 print_texi_heading
"$(expr "$str" : "ARCHHEADING
(\
(.
*\
),.
*)")"
56 test $flag -eq 1 && printf '%s\n' "$str"