In your school data the course number is missing. Please complete.
Please be aware that supplying sample data like channels.txt and registrations.txt usually helps, as does posting the syntax error messages.
On first sight, I see the following:
- missing double semicolons on a few of the cases.
- << opens a "here document", the syntax (and logics) for which you do not follow. It seems you would need an output redirection in those places.
- grep et al. don't need cat - they usually read the input files by themselves.
Last edited by RudiC; 10-15-2016 at 10:10 AM..
The Following User Says Thank You to RudiC For This Useful Post: