I have a much more complicated dataset that I would like to manage as text files from the command line. What alternatives do I have to sort and grep?
A1:
Several. As you learn more commands (in particular, in Chapter 25, "Harnessing the Power of the Shell"), you'll find that you can link them together to perform more and more powerful tasks. Several full-fledged text-oriented languages are also accessible from the shell, but you'll probably want to refer to other texts (not just their manual pages) to learn how to use them. Still, for introductions to two of these tools, see the manual pages for awk and perl.