Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)
User Commands (d - f) del_define(1)
NAME
del_define - Deletes one or more DEFINEs from the current OSS shell
SYNOPSIS
del_define {{define-name}... | all}
FLAGS
all Specifies that all existing DEFINEs except =_DEFAULTS are to be deleted.
DESCRIPTION
The del_define command is specific to OSS and an OSS shell built-in command. It deletes
DEFINEs from the OSS shell.
The del_define command affects only DEFINEs for the current shell process. It is similiar to the
TACL DELETE DEFINE command. Refer to the DELETE DEFINE command in the TACL
Reference Manual.
define-name
Specifies the name of the DEFINE to be deleted. The name can be 2 through 24 char-
acters long. The first character must be an equal sign (=) and the second must be a
letter. The =_DEFAULTS DEFINE cannot be deleted.
EXAMPLES
1. To delete the DEFINE named =DFILE,enter:
del_define =DFILE
2. To delete all defines in the current OSS shell (except =_DEFAULTS), enter:
del_define all
EXIT VALUES
The following exit values are returned:
0 DEFINEs were deleted successfully.
>0 An error occurred.
NOTES
The del_define command is a shell built-in command. It differs from the regular commands in
that it does not open a new shell process when it executes.
A general discussion of shell built-in commands and a list of the OSS shell built-in commands
are in the reference page for sh(1).
RELATED INFORMATION
Commands: add_define(1), info_define(1), set_define(1), show_define(1).
STANDARDS CONFORMANCE
The del_define command is an HP extension to the XPG4 Version 2 specification.
527188-004 Hewlett-Packard Company 3−9