Question: How do I solve this? I have tried multiple different things but can not seem to do it right. Thank you! LaDu Download three awk

 How do I solve this? I have tried multiple different things

How do I solve this? I have tried multiple different things but can not seem to do it right. Thank you!

LaDu Download three awk Scripts: simple_awk.awk, pv_simple_awk.awk and sum_rows.awk cd -/programming_101 mv pv_simple_awk.awk.txt pv_simple_awk.awk #Note that this awk script #is the same as simple_awk.awk except it is very heavily #commented with awk usage information. cp simple_awk.awk.txt -/programming_101/simple_awk.awk cp sum_rows.awk.txt /programming_101/sum_rows.awk simple awk.aw pv_sim ple_aw k.awk sum_ro ws.awk Using these examples write your own awk script that will total the rows and columns of an input file. Showing all lines with row totals on right and column totals at bottom. And grand total below the row totals to the right of the column totals. Formatting is recommended so that the integers line up well. Create a data file: data.txt, that has at least ten rows of 3 space-separated integers in each row. Run your awk script with your data file. cat data.txt | awk - my_script.awk Make sure your script is well indented and commented. Upload a screen shot of the run, your data file and your awk script, named: your_name.awk LaDu Download three awk Scripts: simple_awk.awk, pv_simple_awk.awk and sum_rows.awk cd -/programming_101 mv pv_simple_awk.awk.txt pv_simple_awk.awk #Note that this awk script #is the same as simple_awk.awk except it is very heavily #commented with awk usage information. cp simple_awk.awk.txt -/programming_101/simple_awk.awk cp sum_rows.awk.txt /programming_101/sum_rows.awk simple awk.aw pv_sim ple_aw k.awk sum_ro ws.awk Using these examples write your own awk script that will total the rows and columns of an input file. Showing all lines with row totals on right and column totals at bottom. And grand total below the row totals to the right of the column totals. Formatting is recommended so that the integers line up well. Create a data file: data.txt, that has at least ten rows of 3 space-separated integers in each row. Run your awk script with your data file. cat data.txt | awk - my_script.awk Make sure your script is well indented and commented. Upload a screen shot of the run, your data file and your awk script, named: your_name.awk

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!