How do I read the contents of a file and then put them into different variables in another script?
For example, let's say this is student_1.item, which contains exactly these three lines:
student_1 Sally Johnson
8 1
Mr. Ortiz
In another script, say script1.bash, I want to read the values in script2.bash and print the information so that the following is displayed:
Student number: student_1
Student name: Sally Johnson
Age: 8
Grade Level: 1
Teacher: Mr. Ortiz
How do I do this without using find, grep, sed, and awk?