HP Guardian User Manual page 48

Hide thumbs Also See for Guardian:
Table of Contents

Advertisement

Getting Started With TACL
Spaces typed after the I or R command are part of the text to insert or replace. If you
want to make more than one change on a line, end the text string with two slashes (//)
and space over to make additional changes as shown below:
25> STAUS *> TERM
STAUS *> TERM
^
*ERROR* Name of variable, builtin, or file needed
26> FC
26> STAUS *> TERM
26.. iT//r,
26> STATUS *, TERM
26..
In the example, the I command inserts a T between A and U. The two slashes indicate
the end of this insertion. The R command with the comma under the > replaces the >
with the comma.
After you press Return, the TACL program displays the corrected line and prompts you
for any further changes. Because the command is now correct, make no changes before
you press Return, and the TACL program executes the modified command.
Replacing and Inserting Text Without Using D, I, or R
You can enter a replacement string under text without using the R command. You can
also insert text at the end of the line by typing it in without using the I command. For
example:
25> STAUS *>
STAUS *>
^
*ERROR* Name of variable, builtin, or file needed
26> FC
26> STAUS *>
26..
TUS *, TERM
26> STATUS *, TERM
26..
However, if your proposed replacement or insertion text begins with the letters D, I, or
R (lowercase or uppercase), FC considers that letter to be an editing command, and you
will not get the results you want. The following example shows an attempt to change the
command from VOLUME ALWORK to VOLUME ALINFO by typing INFO under
WORK.
27> VOLUME ALWORK
28> FC
28> VOLUME ALWORK
28..
INFO
28> VOLUME ALNFOWORK
28..
The TACL program, however, interprets the I in INFO as the I command and inserts the
string NFO after the L. At this point, rather than try to execute or edit the command, you
can enter two forward slashes (//) followed by Return.
Guardian User's Guide —425266-001
2- 18
Changing or Correcting a Previous Command

Advertisement

Table of Contents
loading

Table of Contents