Cobra Interactive Query Language dot (.)

NAME

. — read-in a scriptfile, and execute it

SYNTAX

	. filename

DESCRIPTION

The dot command causes a Cobra script file to be read in during an interactive session. If it contains scripts, those scripts are now available for execution. If the file contains (also) commands, those commands are immediately executed.

Sample files with predefined scripts are included in the distribution. By convention all script files have either the extension .cobra, if they contain immediate commands, or the extension .def if they only define, but do not execute, definitions.

NOTES

If no full pathname is given, Cobra will search for a matching filename in the rules/main sub-directory where the tool is installed. The filename suffix .cobra or .def can be omitted.

Return to index
Manual
Tutorial
(Last Updated: 8 May 2017)