Lesson 3 Exercises [ Using the 900 Series HP 3000: Fundamental Skills Module 3: Creating Text Files ] MPE/iX 5.0 Documentation
Using the 900 Series HP 3000: Fundamental Skills Module 3: Creating Text Files
Lesson 3 Exercises
1. Create a 20-line file and save that file as FILEA.
2. List all of FILEA to your terminal screen.
3. List lines 5 through 15 of FILEA to your terminal screen.
4. Print a copy of FILEA to a line printer.
5. Print lines 15 through 20 to a line printer.
6. Delete the first three lines of FILEA.
7. How would you "undo" step 6 without reentering the three deleted
lines?
8. Move line 3 of FILEA to line 6.1.
9. Move the last five lines of FILEA to the beginning of the file
(before line 1).
10. Renumber the lines of your file.
11. Study the following text line:
Mary will be coming ovr for dinner.
If you were to modify this line, which subcommands would you use
to make the following corrections?
a. Change "Mary" to "Geno".
Mary will be coming ovr for dinner.
b. Correctly insert the "e" in "ovr" so that it reads "over."
Geno will be coming ovr for dinner.
c. Delete the word "coming."
Geno will be coming over for dinner.
12. Suppose that you are in the editor and have just retrieved a file
called MYFILE from the disk. You make some editing changes to
MYFILE. After completing the edit, you are ready to start working
on a new file.
If you performed a DELETE ALL right now (without performing a
KEEP), what version of MYFILE will be retrieved from disk the next
time that you needed to do some more editing?
What, if anything, would be lost?
MPE/iX 5.0 Documentation