spec

Software for Diffraction

lsdef

list current macros

SYNOPSIS

lsdef [pattern_name ... ]

DESCRIPTION

The command lsdef is used to list the names of the defined macros as well as their sizes in bytes. Names of macro functions are shown with appended parentheses. Macros created with cdef() are designated with an initial asterisk.

With no arguments, all the macro names are listed. Otherwise, only the macros specified as arguments are printed. Arguments may contain the *, ? and [] metacharacters. A * matches any string, while a ? matches any single character. With the [...] pattern, any string that contains the characters within the square brackets is matched. Two characters separated by a hyphen specify a range of characters that will match. An initial ^ negates the enclosed character set. (Support for [] added in spec release 6.07.)

EXAMPLE

lsdef *scan

SEE ALSO

lscmd syms def undef whats