Question: 6 . ( 1 2 points ) Consider the file USA.txt , which has millions of lines like this: Each line has last name, first

6.(12 points) Consider the file USA.txt, which has millions of lines like this:
Each line has last name, first name, city, state, zip, and points (which may be negative, positive, or zero). Some lines may have extra information, such as nicknames.
We want the line for the person from Arizona with the highest point total.
(To be clear, \(-10-504\).)
(a) Give a command that uses only \( a w k \) to find that line.
(b) Give a command that uses anything but awk (grep, sed, a pipeline of both or more, whatever) to find that line.
6 . ( 1 2 points ) Consider the file USA.txt ,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!