Users Guide
30 CCTK Options
Read and Write Options
Options that specify read and write actions should not be combined 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.
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
must be used instead of redirection to record a utility’s output, as 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:
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