30.7 Combining grep, sed, and awk in Pipelines
Right, so you’ve met the three musketeers of the text-processing world individually. grep for finding lines. sed for editing streams. awk for… well, for being its own glorious, miniature programming language. Individually, they’re sharp, specialized tools. But when you chain them together into a pipeline, you move from simple carpentry to building an intricate clock. The output of one becomes the input of the next, and you can perform complex data surgery with a single, elegant command line.