Applies to: megatest config, runconfig, testconfig


Description:


Checks for existence of file.


If file exists, cat it.


If file does not exist, and optional text defined display optional text


If file does not exist, and optional text not specified, print an error that the file does not exist.


Syntax:


[cat <path>]

[cat <path> "text if file does not exist"]


Example:


[items]

VAR1 [cat

VAR2 [cat ""]