Start learning with our library of video tutorials taught by experts. Get started

AWK Essential Training
Illustration by John Hersey

AWK Essential Training

with David D. Levine

Video: Welcome

Hi, I'm David D. In this course, I'll show you how to use AWK to read and write data in a variety of So, let's get started with AWK Essential Training.
Expand all | Collapse all
  1. 2m 16s
    1. Welcome
      1m 3s
    2. What you should know before watching this course
      43s
    3. Using the exercise files
      30s
  2. 3m 11s
    1. What is AWK?
      3m 11s
  3. 14m 30s
    1. Writing an AWK program
      2m 52s
    2. Working with records, fields, patterns, and actions
      5m 20s
    3. Using AWK command-line flags
      6m 18s
  4. 12m 7s
    1. Exploring basic input-field separators
      3m 41s
    2. Specifying field and record separators with variables
      6m 18s
    3. Challenge: Change a CSV file to a tab-separated one
      23s
    4. Solution: Change a CSV file to a tab-separated one
      1m 45s
  5. 17m 47s
    1. Using built-in variables
      7m 0s
    2. Creating user-defined variables
      6m 39s
    3. Working with operators and arrays
      4m 8s
  6. 10m 37s
    1. Regular expression basics
      5m 19s
    2. Working with character classes and quantifiers
      5m 18s
  7. 12m 44s
    1. Building control structures
      4m 14s
    2. Creating an HTML table
      4m 45s
    3. Challenge: Print only those lines consisting of a complete HTML entity
      46s
    4. Solution: Print only those lines consisting of a complete HTML entity
      2m 59s
  8. 7m 15s
    1. Formatting output with printf()
      3m 20s
    2. Formatting output with width and precision specifiers
      3m 55s
  9. 14m 9s
    1. Manipulating strings
      7m 28s
    2. Using associative arrays
      4m 55s
    3. Introducing AWK's math functions
      1m 46s
  10. 25m 47s
    1. Using pipes
      7m 6s
    2. Parsing Excel CSV files: Line endings and quoting
      5m 34s
    3. Parsing Excel CSV files: Commas and new lines
      4m 3s
    4. Scripting with AWK
      4m 56s
    5. Challenge: Perform a join
      1m 13s
    6. Solution: Perform a join
      2m 55s
  11. 1m 11s
    1. Goodbye
      1m 11s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
AWK Essential Training
2h 1m Intermediate May 19, 2014

Viewers: in countries Watching now:

So you've got a large data set. New information is always coming in, and it's messy and inconsistent. Text files, Excel spreadsheets, web forms, email messages, and so on. You'd like to find a way to format it into something clean and consistent you can use in a database, and you'd like to automate that process as much as possible. Enter AWK, a command-line tool for Mac, Unix, and Linux that allows you to manipulate data in powerful ways.

In this course, award-winning author and teacher David D. Levine shows you how to use AWK to read and write data in a variety of formats, produce reports, and automate repetitive tasks. He reviews the nuts and bolts of the language, such as field separators, pattern matching, variables, operators, expressions, and control structures; functions available for manipulating data; and integration with other programs like Excel.

Topics include:
  • What is AWK?
  • Writing an AWK program
  • Working with records, fields, patterns, and actions
  • Specifying field and record separators with variables
  • Using built-in and user-defined variables
  • Building control structures
  • Formatting output
  • Manipulating string data with functions
  • Scripting with AWK
Subjects:
Developer Databases IT Business Intelligence IT and Hardware
Software:
Linux
Author:
David D. Levine

Welcome

Hi, I'm David D. Levine and welcome to AWK Essential Training. AWK is a command line tool for Mac, Linux, and UNIX environment that allows you to manipulate text in very powerful ways. In this course, I'll show you how to use AWK to read and write data in a variety of formats, produce reports and other output for viewing on screen or for use by other programs and automate repetitive tasks. First, I'll walk you through the basic structure of an AWK program.

Then I'll dive into the nuts and bolts of using AWK. I'll show you how to use field separators, pattern matching, variables, operators, and control structures. Then you'll see some of the more advanced printing, string, array, and math functions. Finally, I'll show you how to integrate our programs together with other tools, including Microsoft Excel. AWK's longevity and continued popularity demonstrate how useful it is. Once you've taken this course, I'm sure you will see many ways in which it can help you every day. So, let's get started with AWK Essential Training.

There are currently no FAQs about AWK Essential Training.

 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed AWK Essential Training.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.