Cobra Interactive Query Language view

NAME

view — list known script names

SYNTAX

	vi[ew]

DESCRIPTION

When scripts have been defined, either manually or by loading a script file (e.g., by executing ". p10"), a list of all script names is reproduced with this command. Each script name is followed by the names of the formal parameters, if any are required.

EXAMPLES

	: terse on	# give just the number of rule violations
	: . p10		# the predefined rule-set for the P10 rules
	...		# all scripts are executed
	: view
	 fct_names
	 p10_rule1a(rn)
	 p10_rule1b(rn)
	 p10_rule1(rn)
	...
Individual rules can then be called, for instance as follows:
	: p10_rule1a(R1a)

NOTES

Added in Cobra Version 2.2.

SEE ALSO

. (dot), terse

Return to index
Manual
Tutorial
(Last Updated: 23 July 2017)