Tandy 1000 MS-DOS Reference Manual page 245

Hide thumbs Also See for 1000 MS-DOS:
Table of Contents

Advertisement

,..--
I
,
L
,...
I
;---'
I
I
Chapter 10 / EDLIN Command Reference
Examples:
Assume that the following file exists and is ready for editing:
1: This sample file
2: shows how the Replace command works and how
3: when you use Replace
4: certain words and phrases
5: may be exchanged for
6: other words and phrases
7: in your file.
To replace all occurrences of and with or in the above file, type:
1 ,7Rand ICTRLJIIJ or [ENTER]
The result is:
2: shows how the Replace commor works or how
4: certaln words or phrases
6: other words or phrases
Note that Lines 1, 3, 5, and 7 are not displayed because they are
not changed:
To avoid unwanted changes, you can include the? parameter, for
example, type:
2, 7?RandlcTRLIIIJ or IENTER J
Now, whenever Replace finds the and string, you have the oppor-
tunity to accept or reject the change.
Note that in the first Replace Command line a space was typed
after and and or. In the second command with ?R, spaces were
not typed.
229

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents