Answer to Question #180564 in UNIX/Linux Programming for Ritesh

Question #180564

Consider a file “data.txt” which contains several records. Each record contains ID(7chars), 1 space, First name (10 chars),1 space, Second name (8 chars), 1space, marks in physics( 3chars), 1space, marks in chemistry(3 chars), 1space, marks in mathematics(3 chars) and anewline character. Sample file content is as shown below:

71723 Ram    Sen    70 72 75

91924 Raghubir Yadav   82 73 80

53425 Ram    Chauhan 93 81 86

44917 Ratan   Yadav  95 79 91

Write the program using shell script:

iii)If the programis run with non-numeric argument ($./info.sh yadav), it will assume it as either first or second name and output the ID’s of all the students whose first or last name matches with the argument (irrespective of case).


1
Expert's answer
2021-04-16T18:46:02-0400
Dear Ritesh, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS