1
Loading...

Awk Isn't Just A Command: Let's Learn The Basics

Vote
73 73 views
8m Nov 21, 2020
G

Today we'll be covering chapter 1 of our awk programming tutorial series, this will be covering a lot of the aw basics, the main topics for today will be how to use the awk interpreter in the first place, the syntax structure, conditionals and variables. All of which are fundamental to working with the awk language and awk command.

=========Support The Channel==========
► Paypal: https://www.paypal.me/BrodieRobertsonVideo
► Amazon USA: https://amzn.to/3d5gykF
► Other Methods: https://cointr.ee/brodierobertson

==========Resources==========
Gawk Manual: https://www.gnu.org/software/gawk/manual/gawk.html
Data Files: https://www.gnu.org/software/gawk/manual/gawk.html#Sample-Data-Files

=========Video Platforms==========
📚 LBRY Podcast: https://open.lbry.com/@TechOverTea:3
🎥 YouTube Podcast: https://www.youtube.com/c/TechOverTea
🎥 LBRY: https://open.lbry.com/@BrodieRobertson#5
📺 BitTube: https://bittube.tv/profile/BrodieRobertson
📺 BitChute: https://www.bitchute.com/channel/agraFPUvUDeK/

==========Social Media==========
🌐 Mastodon: https://mstdn.social/@BrodieOnLinux
🧠 Minds: https://www.minds.com/brodierobertson/
✉️ Telegram: https://t.me/BrodieRobertson

==========My Repos==========
🖥️ GitHub: https://github.com/BrodieRobertson

==========Credits==========
🎨 Channel Art:
All my art has was created by Supercozman
https://twitter.com/Supercozman
https://www.instagram.com/supercozman_draws/

🎵 Ending music
Music from https://filmmusic.io
"Basic Implosion" by Kevin MacLeod (https://incompetech.com)
License: CC BY (http://creativecommons.org/licenses/by/4.0/)

DISCLOSURE: Wherever possible I use referral links, which means if you click one of the links in this video or description and make a purchase we may receive a small commission or other compensation.

I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and related sites.

Table of Contents

Timecode Title
0:00 Why
0:46 Executing Awk Programs
1:59 BEGIN And END Blocks
4:12 Script In A File
5:13 Awk Shebang
6:06 Variables
7:38 Search Strings
8:35 Multiple Regexes
9:29 Conditionals
10:06 If Statements
11:12 Curly Braces In If
11:40 Else and Else If
12:27 For Loops
13:07 While Loop
13:35 Practical Example
14:31 Special Variables

About Brodie Robertson

For all general enquiries feel free to contact me through any social media service listed below, If you'd like to longer form something longer form like fan mail or you have a video suggestion, feel free to send me an email.


0 Comments

Markdown is supported.
Defpom's Mailbag – E857
2 days ago