Cobra Interactive Query Language dot (.)


. — read-in a scriptfile, and execute it


	. filename


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.


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
(Last Updated: 8 May 2017)