File Utility Programming (FUP) Reference Manual
FUP Commands
File Utility Program (FUP) Reference Manual—523323-015
2-76
EXIT Example
The FUP process terminates when FUP reads the end-of-file (EOF) mark of the
input file that you specified in your command to run FUP. You do not have to end a
FUP command file with an EXIT command because of the EOF mark.
Simultaneously pressing the CTRL and Y keys at the terminal is the same as an
EOF. If you press CTRL-Y at the FUP prompt, FUP terminates after it displays:
EOF!
EXIT Example
To terminate FUP and return control of the terminal to the command interpreter:
-EXIT
10>
FC
Modifies and reexecutes a specific command.
-num
displays a command previous to the current command. For example, to modify and
execute the third command prior to the current command, specify -3.
num
is the number of a command line. For example, to modify and execute the second
command of the current FUP session, specify the number 2.
string
is the first characters of a previous command. For example, to display the most
recent DUP command that starts with a volume name, enter FC DUP $.
quoted
is a string enclosed in either single or double quotation marks. FUP searches every
character in the command buffer—not just the first characters—until it finds the
string. For example, to display the most recent command that referenced the
system \KAUAI, enter FC “\KAUAI”.
To edit the command, use the space bar and the backspace key to position the cursor
under the text that you want to change. Do not use the arrow keys to move the cursor.
The FC command accepts these three command-editing characters:
FC [ -num | num | string | quoted ]