10 STEXI
*|ETEXI
*|SQMP
*|EQMP
*) flag
=$
(($flag^
1))
13 test $flag -eq 1 && printf "%s\n" "$str"
28 if test $flag -eq 1 ; then
29 echo "line $line: syntax error: expected ETEXI, found $str" >&2
35 if test $flag -ne 1 ; then
36 echo "line $line: syntax error: expected STEXI, found $str" >&2
42 if test $flag -eq 1 ; then
43 echo "line $line: syntax error: expected ETEXI, found $str" >&2
48 echo "$(expr "$str" : "DEFHEADING
(\
(.
*\
))")"
51 test $flag -eq 1 && echo "$str"
68 if test $flag -eq 1 ; then
69 echo "line $line: syntax error: expected EQMP, found $str" >&2
75 if test $flag -ne 1 ; then
76 echo "line $line: syntax error: expected SQMP, found $str" >&2
82 if test $flag -eq 1 ; then
83 echo "line $line: syntax error: expected EQMP, found $str" >&2
88 test $flag -eq 1 && echo "$str"