Awk Tutorial: Variables, Conditionals and Syntax
Brodie Robertson | Linux Tips & Tricks
Today we'll be covering chapter 1 of our awk programming tutorial series, 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.
==========Support The Channel========== ► Patreon: https://www.patreon.com/brodierobertson
► 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
=========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========== 🎤 Discord: https://discord.gg/PkMRVn9
🐦 Twitter: https://twitter.com/BrodieOnLinux
🌐 Mastodon: https://mstdn.social/@BrodieOnLinux
🧠 Minds: https://www.minds.com/brodierobertson/
✉️ Telegram: https://t.me/BrodieRobertson
==========Time Stamps========== 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
==========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. ... https://www.youtube.com/watch?v=2eX0scAsYJk
97706098 Bytes