Hi all,
I am writing to write a script that will help me with track my students absences a little better. Essentially, I have a text file with the following information:
Filename: Students.in
StudenName1 ClassName DateMissed
StudenName2 ClassName DateMissed
StudenName3 ClassName DateMissed
StudenName4 ClassName DateMissed
Where I am struggling is using AWK to come up with a text file like this:
File name: Students.out
"This is to inform you that StudentName, was absent from ClassName on DateMissed"
What's the best way to turn each field from Students.in into a variable that can be used in Students.out?
Any help is greatly appreciated!
I am writing to write a script that will help me with track my students absences a little better. Essentially, I have a text file with the following information:
Filename: Students.in
StudenName1 ClassName DateMissed
StudenName2 ClassName DateMissed
StudenName3 ClassName DateMissed
StudenName4 ClassName DateMissed
Where I am struggling is using AWK to come up with a text file like this:
File name: Students.out
"This is to inform you that StudentName, was absent from ClassName on DateMissed"
What's the best way to turn each field from Students.in into a variable that can be used in Students.out?
Any help is greatly appreciated!