Generating Reports with awkBack in Chapter 6, we showed you how to edit delimited files with awk, which is cool because it lets you extract specific pieces of information, such as names and phone numbers, from delimited files. As shown in Code Listing 17.4, you can also use awk to generate reports. We start with the information from an ls -la command, and then use awk to generate a report about who owns what Code Listing 17.4. Use awk to generate quick reports.
To Generate Reports with awk:
Tip
|