10 STEXI
*|ETEXI
*) 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 print_texi_heading
"$(expr "$str" : "DEFHEADING
(\
(.
*\
))")"
52 print_texi_heading
"$(expr "$str" : "ARCHHEADING
(\
(.
*\
),.
*)")"
55 test $flag -eq 1 && printf '%s\n' "$str"