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
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