October 1, 1979 FRESS COMMANDS SUBSTITUTE
Edit
S _

S


S Substitute Text _______________________
SUBSTITUTE replaces a string of text in a file with a new
string.


Substitute <scope> <text>


<scope>...The old text to be substituted
<text>....The literal string to be substituted
NOTES _____
If <text> is omitted, Input Mode will be entered:
[before]=> sentences can be substituted for.
[user] s/substituted for/
[system] sentences can be .
INPUT
[user] easily edited% [the "%" is to avoid having the
line padded with an
[user] [null line] extra blank (see Section 3)]
[system] Sentences can be easily edited.
Ellipses (...) can be conveniently used to designate long
strings:
s/n amaz...ent/ sophisticated
[before]=> FRESS is an amazingly convenient text editor.
[after]=> FRESS is a sophisticated text editor.
SUBSTITUTE is identical to CHANGE (see CHANGE for a list of
system messages).
RELATED COMMANDS ________________
CHANGE, INSERT, IBEFORE, USUBSTITUTE
212 -- Section 5 Release 9.1 FRESS Resource Manual
October 1, 1979 FRESS COMMANDS SAVE
Travel


SA


SA Save Current Location _____________________________
SAVE "pushes" the current display point onto the Return Stack
(see RETURN).


SAve <wind>°


NOTES _____
SAVE explicitly pushes the display point on the Return Stack,
normally done only by non-linear traveling functions.
SAVE is useful when examining some point in the file (by
SCROLLing or pattern scanning), as it provides an easy return
to the original point.
EXAMPLES ________
SA>T 20>R
will bring the user back to his original viewing point after
TYPING 20 lines. Note the use of the FRESS Command Separator
(">") (see Section 5.4).
MESSAGES ________
STACK CONTROL BLOCK ALL FILLED
RELATED COMMANDS ________________
RETURN, RING, &POP
FRESS Resource Manual Release 9.1 FRESS RSection 5.8 -- 213
Previous Page Next Page