Initializing help system before first use

cat

Purpose
Concatenate files.
Synopsis
procedure cat(files:...)
Argument
files 
Files to concatenate, the last element of the list will be the destination file.
Example
 cat("myfile.txt","secondfile.txt","result.txt")
   ! -> CAT myfile.txt secondfile.txt result.txt     (if MODE other than 'clean')
   ! -> RM result.txt                                (if MODE='clean')
Further information
1. The first argument of the routine is interpreted as a list of flags if it starts with a '-'.
2. The operation will be performed if runmode is not "clean" and any of the source files is newer than the destination file or if the flag "-f" is used.
3. The destination file will be deleted if runmode is "clean" unless the flag "-f" is used.
4. With the flag "-t" files are open in text mode (instead of binary mode).
5. The destination file ( i.e. the last element of the list of arguments) may be an empty string: in this case the output of the function is sent to the standard output stream of the program. If the list contains only a single entry, this file will be copied to the standard output stream. Note that the same file may appear several times in the list and the destination file itself may be part of the list of source files.
6. Execution of the program terminates if the operation fails and exitonfail is true unless flag "-i" is used.

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.