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"
67 if test $flag -eq 1 ; then
68 echo "line $line: syntax error: expected EQMP, found $str" >&2
74 if test $flag -ne 1 ; then
75 echo "line $line: syntax error: expected SQMP, found $str" >&2
81 if test $flag -eq 1 ; then
82 echo "line $line: syntax error: expected EQMP, found $str" >&2
87 test $flag -eq 1 && echo "$str"