Safeguard Reference Manual (G06.29+, H06.08+, J06.03+)

Table Of Contents
SAFECOM Session-Control Commands
Safeguard Reference Manual 520618-030
4 - 28
Comment Delimiters
!
entered with no line number or text string, specifies that the last command line in
the command history buffer is to be displayed and executed.
linenum
is a positive integer that specifies the number of the command line in the history
buffer that you want to retrieve and execute.
-linenum
is a negative integer that specifies the number of the command line to be retrieved
and executed relative to the current line number.
string
is a text string. The ! command displays and executes the most recent command in
the history buffer that begins with the specified text string.
"string"
is a text string enclosed in quotes. The ! command displays and executes the most
recent command in the history buffer that contains the specified text string. The
command need not begin with the specified string.
Examples
1. The following ! command retrieves and executes command line number 13:
=! 13
=RESET DISKFILE
=
2. The following ! command retrieves and executes the last command in the history
buffer:
=!
=SET DISKFILE PERSISTENT ON
=
Comment Delimiters
Use two hyphens (--) to delimit comments within a command line. The comment can
appear anywhere within the command line but cannot be embedded within a word. In
addition, the comment should not contain a semicolon (;). Any part of a comment
following a semicolon is lost because the semicolon causes line termination.
Comments can also appear on their own line when delimited before and, optionally,
after with two hyphens.
-- any-phrase { -- | end-of-line }