Next: Location, Up: Miscellaneous
You can print error messages using errprint:
Prints message and the rest of the arguments on the standard error output, separated by spaces.
The expansion of
errprintis void. The macroerrprintis recognized only with parameters.
errprint(`Invalid arguments to forloop
')
error-->Invalid arguments to forloop
=>
A trailing newline is not printed automatically, so it must be
supplied as part of the argument, as in the example. BSD
implementations of m4 do append a trailing newline on each
errprint call, while some other implementations only print the
first argument.