next up previous contents
Next: Configuration file format Up: Configuration Previous: Packet dequeuing   Contents


Debugging

Syntax:
echo expression$\vert$quoted_string $\ldots$
Example:
echo 1 "<<" 8 "is" 0x%x 1 << 8 "(hex)"
Effect:
Prints the arguments, separated by spaces. An argument is either a string in double quotes (e.g. "string"), or an expression. Expressions can be prefixed with a printf-style format string. The following strings are currently recognized:

%u unsigned decimal integer, e.g. 100 is printed as 100
%x unsigned hexadecimal integer, e.g. 100 is printed as 64
0x%x like %x, but add 0x prefix, e.g. 100 is printed as 0x64

echo commands have no effect if using the -q option.



Martin A. Brown 2003-11-06