Question: Please help me write these short scripts. I have to write 2 AWK scripts and 1 BASH script using the hw-solutions.txt, student1.txt, and student2.txt files

Please help me write these short scripts. I have to write 2 AWK scripts and 1 BASH script using the hw-solutions.txt, student1.txt, and student2.txt files given as input.

Thank You!

Please help me write these short scripts. I have to write 2

student1.txt Looks like this:

# 1 Reading #@ 1a i #@ 1b ii # 2 Binary and hex numbers #@ 2a 18 #@ 2b 0x5 

student2.txt Looks like:

# 1 Reading #@ 1a i #@ 1b ii,iv # 2 Binary and hex numbers #@ 2a #@ 2b 0x7  

Instructions:

AWK scripts and 1 BASH script using the hw-solutions.txt, student1.txt, and student2.txt

as ol Ban tiaring wth e are problmi, . AWK and Bash. Create a basic homework-grading system as follows. An answers file will be formatted so that lines starting with #@ are problem number lines, and answers are given on lines following problem number lines. Blank lines, and lines starting with # (but not #@) are ignored. For example, file 'hw-solutionstxt, looks like this: # 1 Reading #@ 1a 1 #0 1b ii,iv # 2 Binary and hex numbers #6 2a #@ 2b 0x5 as ol Ban tiaring wth e are problmi, . AWK and Bash. Create a basic homework-grading system as follows. An answers file will be formatted so that lines starting with #@ are problem number lines, and answers are given on lines following problem number lines. Blank lines, and lines starting with # (but not #@) are ignored. For example, file 'hw-solutionstxt, looks like this: # 1 Reading #@ 1a 1 #0 1b ii,iv # 2 Binary and hex numbers #6 2a #@ 2b 0x5

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 Databases Questions!