Question

In UNIX: write a shell script that takes a FileName.awk as an argument. The shell script...

In UNIX: write a shell script that takes a FileName.awk as an argument. The shell script then uses that file name to run your awk script and sort the results alphabetically, by student name.

data.csv

Student,Catehory,Assignment,Score,Possible
Chelsey,Homework,H01,90,100
Chelsey,Homework,H02,89,100
Chelsey,Homework,H03,77,100
Chelsey,Homework,H04,80,100
Chelsey,Homework,H05,82,100
Chelsey,Homework,H06,84,100
Chelsey,Homework,H07,86,100
Chelsey,Lab,L01,91,100
Chelsey,Lab,L02,100,100
Chelsey,Lab,L03,100,100

0 0
Add a comment Improve this question Transcribed image text
Answer #1

If you have any doubts, please give me comment...

awk 'NR>1{print $0|"sort -t',' -nk2 "}' data.csv

Add a comment
Know the answer?
Add Answer to:
In UNIX: write a shell script that takes a FileName.awk as an argument. The shell script...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT