Users Guide

24 CCTK Options
Read and Write Options
Options that specify read and write actions should not be mixed in a
command line instance. Table 4-3 provides examples for read and
write commands.
File Input and Output Commands
File input is specified by the
-i
=<
filename
> command,
where <
filename
> is the name of the input file.
File output is specified by the
-o
=<
filename
> command,
where <
filename
> is the name of the output file.
Log Files
The -l=<
filename
> or --logfile=<
filename
> option records
information output on the command line to the specified log file. Each new
line of output is preceded by a time stamp.
If the log file already exists, information is appended to the file. This allows
multiple tools to use the same log file to record information. This option
should be used instead of redirection to record a utility’s output, since time
data can assist with task diagnosis.
The log duplicates all standard output and error information to the specified
file. Each log file begins with a time stamp and utility name. For example,
YYYY/MM/DD HH:MM:SS
<
utilname
> - <
output text
>.
The following is an example of the logging behavior:
2003/11/28 10:23:17 cctk -
option1
=on
2003/11/28 10:23:17 cctk -
option2
=on
2003/11/28 10:23:17 cctk -
option3
=off
Table 4-3. Read and Write Command Examples
Valid/Invalid CCTK Command Line Example
valid cctk --option1 --option2
valid cctk --option1=arg --option2=arg
invalid cctk --option1=arg --option2