Sample External Command: match

Marks the block between matching brackets and parentheses.

Scope: View

Syntax

Description

The match command marks a block consisting of all the characters between curly brackets { }, angled brackets < >, parentheses ( ), and square brackets [ ].

Example

To find the begin parenthesis that matches an end parenthesis, place the cursor on the end parenthesis and type on the command line:

match

All characters between the begin parenthesis and the end parenthesis are marked.

The match command is available as a sample external command macro. For details on match and how it works, read the source code in the lxmatch.c file.

Note: The lxmatch.c file is found in the /usr/vatools/extras directory.

The lxmatch.c file is found in the product_installation\extras directory.


Application Programming Interface Overview contains general information about creating and adding new commands using a library of subroutines.

Building External Commands Written in the C Language describes how to build external commands.

Sample External Command: fmatch
Sample Extenal Command: proto