Join Exercism’s AWK Track for access to 92 exercises grouped into 3 AWK Concepts, with automatic analysis of your code and personal mentoring, all 100% free.
BEGIN {print "Hello World!"}
Get better at programming through fun, rewarding coding exercises that test your understanding of concepts with Exercism.
Given a moment, determine the moment that would be after a gigasecond has passed.
Given a person's allergy score, determine whether or not they're allergic to a given item, and their full list of allergies.
Create an implementation of the Atbash cipher, an ancient encryption system created in the Middle East.
AWK is a venerable, powerful, elegant, and simple tool that everyone should know.
Extracting a column from your CSV is as simple as "awk -F, '{print $1}' file"
Replace complex grep|sed|tr|cut pipelines with a short AWK script.
Simple and flexible data structures, user-defined functions; AWK can do more than you think.
With just a few dozen characters, you can achieve impressive text transformations.
Besides /bin/sh, AWK is the only other scripting language in the standard Unix environment.
Every language has its own way of doing things. AWK is no different. Our mentors will help you learn to think like a AWK developer and how to write idiomatic code in AWK. Once you've solved an exercise, submit it to our volunteer team, and they'll give you hints, ideas, and feedback on how to make it feel more like what you'd normally see in AWK - they'll help you discover the things you don't know that you don't know.
Learn more about mentoringThe AWK track on Exercism has 3 concepts and 92 exercises to help you write better code.
See all AWK exercises