TACL Reference Manual
UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual—429513-018
8-65
FC Command
replacement-text
is any text that does not begin with R, I, or D (or r, i, or d). Characters in
replacement-text replace characters immediately above them on a one-for-
one basis. For example, a D in replacement-text replaces the character
displayed above it instead of deleting it.
Considerations
•
If you enter FC alone, the last command entered is displayed.
•
You can use the FC command before you are logged on. For example, FC works
to correct errors in the LOGON command. If your password contains control
characters, however, FC might not edit them correctly.
•
If you press the BREAK key before completing an editing template, the FC
command is aborted, and the previous command is not reexecuted. The original
command is left unchanged.
•
If you enter only the subcommand separator (//) in the editing template and follow it
immediately with a RETURN, the FC command aborts, leaving the original
command unchanged.
•
Text arguments are not case-sensitive.
•
If you try to retrieve a line that is not in your history buffer, you receive an error.
•
FC must be entered from the IN file (normally your terminal); it cannot be included
in a macro, for example. Similarly, you cannot change FC to another name with an
ALIAS, nor can you program a function key to execute FC.
Examples
1. This example demonstrates the use of subcommands D, R, and I and the
subcommand separator (//):
11> COMMENT This are a commnt
12> FC
12> COMMENT This are a commnt
12.. DRis// Ie
12> COMMENT This is a comment
2. This example retrieves the command line numbered 5 in your history buffer:
13> FC 5
13> WHOM
13..
3. This example retrieves the third command back from your current command-line
number:
14> FC -3
14> COMMENT This are a commnt
14..