For example suppose we have a file called
input.txt which contains
100 John Doe LEC05 12356
132 Carol Bon LEC05 156
122 Cavar Liktik LEC01 136
This command should find everyone in
LEC05 and print out their first names in
sorted order in a file called
The command should be a one-line command (with pipes).
I'm not sure how it would be done.
see if LEC05 | find first name at index 1 | sort < input.txt > output.txt
How do I do the
see if LEC05 | find first name at index 1 part?