TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Interactive GNU Awk tutorial for beginners (TUI app)

3 pointsby asicspabout 1 year ago
Hello.<p>This interactive tutorial gives a brief tour of the GNU awk command. I&#x27;d appreciate your feedback, especially from a beginner&#x27;s perspective.<p>If you are already familiar with awk, check out my app with 80+ exercises: <a href="https:&#x2F;&#x2F;github.com&#x2F;learnbyexample&#x2F;TUI-apps&#x2F;tree&#x2F;main&#x2F;AwkExercises">https:&#x2F;&#x2F;github.com&#x2F;learnbyexample&#x2F;TUI-apps&#x2F;tree&#x2F;main&#x2F;AwkExer...</a>

2 comments

anthkabout 1 year ago
<p><pre><code> Info gawk </code></pre> too.<p>Also, here&#x27;s a Gemini client with gawk+openssl:<p><a href="http:&#x2F;&#x2F;git.vgx.fr&#x2F;gem.awk&#x2F;" rel="nofollow">http:&#x2F;&#x2F;git.vgx.fr&#x2F;gem.awk&#x2F;</a><p>gemini:&#x2F;&#x2F;mozz.us it&#x27;s a good starting point.<p>Borrow tgl.awk<p><a href="https:&#x2F;&#x2F;git.sr.ht&#x2F;~luxferre&#x2F;DALE-8A&#x2F;blob&#x2F;master&#x2F;tgl.awk" rel="nofollow">https:&#x2F;&#x2F;git.sr.ht&#x2F;~luxferre&#x2F;DALE-8A&#x2F;blob&#x2F;master&#x2F;tgl.awk</a><p>from this (1) project too, it&#x27;s a library which boosts up POSIX awk a little. Bitwise ops, trig tan function... (ok, that&#x27;s easy, sin(x)&#x2F;cos(x), but still useful), binary data reading and writting...<p>1) <a href="https:&#x2F;&#x2F;git.sr.ht&#x2F;~luxferre&#x2F;DALE-8A" rel="nofollow">https:&#x2F;&#x2F;git.sr.ht&#x2F;~luxferre&#x2F;DALE-8A</a><p>On posix AWK +networking against GAWK, you can just use Netcat as a socket to write against. The internals will be the same, or close.<p>On the project, AWK can do sed&#x2F;grep fine :)<p><pre><code> &#x2F;match&#x2F;, gsub();, gensub();</code></pre>
dsjkvfabout 1 year ago
The only real tutorial for a tool is a task you have to solve with exactly that tool. Learning in advance is just pointless. Unfortunately.<p>(On the other hand, AWK is indeed amazing. If a tutorial can help to lure using it, then, well, why not? :)