Call : (+91) 968636 4243
Mail : info@EncartaLabs.com
EncartaLabs

AWK

( Duration: 3 Days )

Awk is essentially a stream editor. One can pipe text to it, and it manipulates the lines on line-by-line basis. It is also a programming language. It has the ability to remember context, do comparisons, and most things another full programming language can do. In Awk training course, you will learn to use AWK to read and write data in a variety of formats, produce reports, and automate repetitive tasks.

Ability to write programs in a high level language (such as C or shell) is very helpful in completing the lab exercises and understanding the lectures. A good working knowledge of the UNIX environment is necessary.

  • This Awk workshop is ideal for Unix system application developers, administrators and advanced Users

COURSE AGENDA

1

Introduction to Awk – Field Processor & Reporter

  • Discuss features and benefits
  • Explain general usage syntax
  • Print full lines from input
  • Print desired fields from input
  • Match patterns using RegExes
  • Control the input field | column delimiters
  • Save output
2

Awk – Scripts

  • Discuss features and benefits
  • Explain structure of Awk scripts
  • Implement BEGIN and END blocks
  • Parse system files using Awk script
3

Awk – Variables

  • Discuss features and applications
  • Enumerate and discuss key Awk system variables
  • Increment counters based on matched patterns using Awk
  • Explain variable concatenation
  • Explore arrays (lists of values)
  • Create arrays using the split function
4

Awk – Operators

  • Discuss features and applications
  • Explore Boolean and Relational operators
  • Discuss looping strategies
  • Evaluate conditional testing using system variables
  • Evaluate results
5

Awk – Process Records

  • Discuss features and benefits
  • Define and evaluate multiple input field separators with files with mixed delimiters
  • Normalize output by controlling the Output Field Separator (OFS)
  • Extract records from system file and evaluated
  • Account for number of processed and matched records in END block
6

Awk – Print Formatting

  • Discuss features and applications
  • Compare and contrast ‘print’ and ‘printf’ output formatting
  • Discuss ‘printf’ supported data types
  • Evaluate ‘printf’ application in reporting
7

Awk & Sed – Various Examples

  • Discuss features and applications
  • Parse and cleanup HTML and PHP files with Sed & Awk
  • Replace values in system file with Awk
  • Evaluate results
8

Awk & Sed – Win32

  • Discuss features and benefits
  • Download and install Awk & Sed for Win32
  • Transfer Linux files to Windows
  • Test various parsing and substitution on Linux files
  • Evaluate results
9

Sed – File Name Transformations – Batch

  • Enumerate poorly-named files for transformation
  • Identify key replacement strings for regular expressions match
  • Define and apply regular expressions for transformations
  • Transform prefixes and suffixes
  • Evaluate results
10

Awk – E-Mail Address Parsing

  • Generate sample data set
  • Define regular expressions patterns for transformation
  • Transform sample data
  • Evaluate results

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting https://www.encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top
Notice
X