I have a list of students, which I have saved to a text file students.txt
.
John Doe Marketing Junior BBetty Metty Engineering Junior AJames Names Nursing Sophomore BBob Nob History Freshman BHope Nope Engineering C
It's probably very simple, but as I am a total beginner at shell scripting, what sed pattern command prints out the people, first and last names only, who have an A in their major (letter @ end)?
If you could link a helpful website for sed patternsearch rules related to lists that would be great as well.
Using vim, Ubuntu 16.04