f78
Commands for controlled output
Note: No newline is printed unless you specify one.
In addition to the standard C escape sequences, a backslash followed by a
space stands for a space. This is useful for displaying a string with spaces at the
beginning or the end, since leading and trailing spaces are otherwise trimmed
from all arguments. To print ‘
Consider the following example.
output
Print text. Nonprinting characters can be included in text using C escape sequences, such as ‘\n’ to print a newline.
which is continued\n\
onto several lines.\n
echo which is continued\n
echo onto several lines.\n
Print the value of expression and nothing but that value: no newlines, no ‘$ nn= ’. The value is not entered in the value history either. See Expressions for more information on expressions.
Print the value of expression in format, fmt. You can use the same formats as for p
642
rint. See Output formats for more information.
Print the values of the expressions under the control of string. The expressions are separated by commas and may be either numbers or
pointers. Their values are printed as specified by string, exactly as if your program were to execute the C subroutine, as in the
following example.