undef
remove a macro definition
SYNOPSIS
undef pattern_name ...
DESCRIPTION
The undef command removes one or more macro definitions.
Arguments are macro names and 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.
If the resulting number of arguments is greater than a threshold value, spec requires confirmation. The default threshold value is 10, but can be changed using the "undef_threshold" spec_par() option. See the spec_par help file. In addition, if pattern_name only contains * or ? characters, spec requires confirmation, to avoid, for example, an accidental undef ? action.
If the undef command is from a client to a spec server, no confirmation is sought.
With no arguments, the command does nothing.
(Support for metacharacters and a removal threshold value added in spec release 6.11.02.)
EXAMPLE
undef te teramp tscan dtscan
undef special*