AwkTutor is an interactive command-line tutorial for learning awk
, inspired by vimtutor
. It presents a short rule, command, or concept, shows examples, and allows the user to write an awk
script to translate given input to the expected output.
To start the tutorial:
make run
Each lesson consists of:
- A rule/command/concept.
- Examples with explanations.
- A challenge where the user writes an
awk
script to achieve a specific output from a given input.
- Create a new text file in the lessons/ directory.
- Follow the format of existing lessons for consistency.
- Update awktutor.go to include the new lesson.
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.