Mailfromd Manual (split by node):   Section:   Chapter:FastBack: MFL   Up: Statements   FastForward: Library   Contents: Table of ContentsIndex: Concept Index

4.16.4 The echo statement

The echo statement concatenates all its arguments into a single string and sends it to the syslog using the priority ‘info’. It is useful for debugging your script, in conjunction with built-in constants (see Built-in constants), for example:

func foo(number x)
do
  echo "%__file__:%__line__: foo called with arg %x"
  …
done