1

Shell Script

view story
linux-howto

http://www.unix.com – For a student file with the following fields, rollno, name, marks. Generate 2 files ‘Pass’ and ‘Fail‘containing records of student who have passed or failed. Also count the number of students who have passed or failed. I have created fail.dat and pass.dat and even i have created student.dat in this file i have stored roll no,name,marks(123,abc,35) But I dont know how to implement in a shell script i know the logic and also by using if condition we can solve. Kindly help. (HowTos)