October 1, 1979 FRESS COMMANDS UNIFORM SUBSTITUTE
Edit
I _...(inquire after substitution) The next occurrence of <scope>
will be replaced by <text>, and the message
"OPTIONS="
will be typed. The user should respond with:
A - accept the substitution, or
R - reject this substitution, but continue execution
X - reject this substitution and exit from USUBSTITUTE
If <scope> is not found, the message:
"PATTERN NOT FOUND, OPTIONS="
will be typed. To this the user should either respond:
A - continue with a long scan to the end of the file, or
R - exit from USUBSTITUTE and return to Command Mode
X - exit from USUBSTITUTE and return to Command Mode
If "A" is selected, the user may specify new <options>
characters immediately following the "A" on the same line.
Note ____: If not specified, <n> will be reset to 4095.
L...(long scan) The entire file will be scanned for <scope>.
If not specified, only 2100 characters will be searched.
last <n>.(do <n> substitutions) This must be the ____ option
specified in <options> and must be less than 4095.
S...(Static Mode) The Editing Buffer does not move.
T _...(Transcription Mode) Buffer moves to one word before the
editing operation.
NOTES _____
USUBSTITUTE is a complex command which should be fully
understood before global changes are attempted.
RESTRICTIONS ____________
REVERT will not undo any part of USUBSTITUTE, so it should be
used with care.
cannot USUBSTITUTE ______ be repeated by using &GIN.
242 -- Section 5 Release 9.1 FRESS Resource Manual
October 1, 1979 FRESS COMMANDS UNIFORM SUBSTITUTE
Edit
WARNINGS ________
USUBSTITUTE will not function properly if the first
rejected substitution is ________ in Inquire Mode.
EXAMPLES ________
If the user is in Display and Transcription Modes, specifying:
us/FRESS/the editor/a5
will automatically substitute "the editor" for the first five
occurrences of "FRESS" starting at the current buffer location,
and will display each line where a substitution occurs.
us/apples/oranges
Up to 4095 substitutions of "apples" for "oranges" will be
attempted, allowing the user to accept ("A"), or reject ("R")
the individual substitution; or reject it and end the execution
of USUBSTITUTE ("X").
MESSAGES ________
ALTER OPTIONS=
END OF AREA
END OF COUNT
FRESS
HYPERTEXT ENCOUNTERED: ACCEPT (A), REJECT(R), OR TEXT ONLY(T)
INVALID PATTERN, TRY AGAIN
INVISIBLE TEXT ENCOUNTERED: REJECT(R) OR ACCEPT(A)
OPTIONS=
PATTERN NOT FOUND, OPTIONS=
UNLIGHTPENNABLE TEXT
UNRECOGNIZED RESPONSE, PLEASE RESPECIFY
FRESS Resource Manual Release 9.1 FRESS RSection 5.8 -- 243
Previous Page Next Page