Question: using the awk command Please include the command, a screenshot showing ite works as intended, cite all sources you used, and give a short explanation

using the awk command Please include the command, a screenshot showing ite
works as intended, cite all sources you used, and give a
short explanation of how the command works and why.
1. Print all the First Names.
2. Print phone numbers for Tom and Frodo after their names
3. Print Peregrins full name and phone number area code only.
4. Print all phone numbers (full number) in the 123 area code along with
the names
5. Print all Last names beginning with either a T or D (careful of middle
names!)
6. Print all first names containing four or less characters.
7. Print the first names and area codes of all those in the 916 area code.
8. Print Sacharissas campaign contributions following her name. Each
value should be printed with a leading dollar sign; e.g., $250 $100 $175.
1
9. Print last names followed by a comma and the phone number. Be
careful of the last namess format.
10. Print the first and last names of those who contributed more than $110
in the last month. Make sure to include their last month contribution
amount after the name
11. Print the last names, phone numbers, and first month contribution of
those who contributed less than $150 in the first month.
12. Print the first names and contribution of those who contributed between $10 and $200 in the first month.
13. Print the first name, last names and total contributions of those who
contributed less than $700 over the three-month period.
14. Print the first names and first letter of the last name, and average
contribution of those who had an average contribution of more then
$300
15. Print the last name and area code of those not in the 916 area code.
16. Print each record preceded by the number of the record.
17. Print the name and total contribution of each person.
18. Add $10 to Tiffany Achings first contribution and print her full name
and first contribution.
19. Change Samwise Gamgees name to Sean Astin
20. Write an awk script to do the following (MUST be an awk script not
just a bash script or commands on the commandline)
(a) Prints first name of the all the Tooks followed by their total campaign contributions .
(b) Print the full names and contributions of anyone who contributed
between $10 and $200 in the last contribution
(c) Prints the full names and average contribution of those who contributed less than $300 on average

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!