/** * CS139 - Programming Fundamentals * Department of Computer Science * James Madison University * @version Spring 2016 */
STOP! Don't start this lab until you have a partner. You should complete this lab by working together on a single workstation. Talk through the steps of the lab as you go. Switch places periodically so that you both have an opportunity to type.
Work through the first four parts of the following tutorial:
UNIX Tutorial for BeginnersIf you don't finish during the lab period today you should plan on completing this before the next lab period.
Reads your lab1.txt
file, removes all lines
containing the word "the" and writes the result
to no_the.txt
.
HINT: search for "invert" in the man page for grep.
Reads in your lab1.txt
file, removes all lines
containing the word "the", removes all lower-case "e"'s, and writes
the result to no_the_no_e.txt
.
HINT: Look into the tr command
all.txt
The grading for this lab will be based on attendance. Enter the "word of the day" in Canvas in order to register your attendance.