output

output -- Writes an output string to a log, group, file, or stdout.

Syntax

(output label|filename|stdout string [string ...])
    

Arguments

label|filename|stdout

Specifies where the output string is to be written:

label

Write the string to the corresponding log or group.

filename

Write the string to the corresponding file.

stdout

Write the string to stdout.

string

A string to be inserted into the output.

Description

The output command inserts an output string into a file, log, or the standard output, as a line. If the label is for a single log, the string will appear in that log only. If the label is for a group, then the string will appear in each of the logs pertaining to that group.

See Also

file, group, log

Example

    (output press "Pressure recorded on %M %j, %Y,"
                  " starting at %02h:%02n:%02z.%T")
    (output stdout "Starting log now ...")

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.