Question: 7 . ( 1 2 points ) Consider the file CXGF . txt , which has thousands of lines like this: Each line has last
points Consider the file CXGFtxt which has thousands of lines like this:
Each line has last name, first name, city, state, and zip, delimited by one or more spaces. Note that some cities have underscores instead of spaces to ensure the columns are correct.
We want a list of names only of people not in New York State in this file. It should look something like this with possibly hundreds of lines of output:
Joshua Chan
Gregory Serrano
Nathaniel Plimpton
a Give a command that uses only a w k to make that list.
b Give a command that uses anything but awk grep sed, a pipeline of both or more, whatever to make that list.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
