Users Guide

32 CCTK Options
Read and Write Options
You cannot combine the options that specify read and write actions in a
command line instance. Table 4-3 provides examples for read and
write commands.
File Input and Output Commands
Specify the input file using the
-i
=<
filename
> command,
where <
filename
> is the name of the input file.
Specify the output file input using 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.
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. Use this option
to record the output of a utilty.
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:
2010/05/16 10:23:17 cctk - option1=on
2010/05/16 10:23:17 cctk - option2=on
2010/05/16 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