← 返回首页
TUI-apps/AwkTutorial at main · learnbyexample/TUI-apps · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Latest commit

 

History

History
 main
Top

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
View all files

README.md

Awk Tutorial

This interactive tutorial aims to give a brief tour of the GNU awk command.

Installation

This app is available on PyPI as awktutorial. Example installation instructions are shown below, adjust them based on your preferences and OS.

# virtual environment $ python3 -m venv textual_apps $ cd textual_apps $ source bin/activate $ pip install awktutorial # launch the app $ awktutorial

To run the app without having to enter the virtual environment again, add this alias to .bashrc (or equivalent):

# you'll have to change the path alias awktutorial='/path/to/textual_apps/bin/awktutorial'

As an alternative to manually managing such virtual environments, you can use https://github.com/pypa/pipx instead:

$ pipx install awktutorial $ awktutorial

As yet another alternative, you can install textual==0.85.2 (see Textual documentation for more details), clone this repository and run the awk_tutorial.py file.

Adjust the terminal dimensions for the widgets to appear properly, for example 84x25 (characters x lines). Here's a sample screenshot:

Ebook

See my CLI text processing with GNU awk ebook to learn GNU awk with hundreds of examples and exercises.

License

Code snippets are licensed under MIT LICENSE

Tutorial is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Footer

© 2026 GitHub, Inc.