Cppawk
Cppawk launched on March 23, 2022 with 7 votes, #1,239 of 3,153 launches that month and more than 50% of that year's launches. The site was still online in September 2026, 4 years on.
What it does
cppawk is a tiny shell script that is used like awk . It invokes the C preprocessor (GNU cpp ) on the Awk code and calls Awk on the result. cppawk understands the basic Awk options like -F and -v , and also understands common cpp options like -I and -Dmacro=value . The cppawk man page describes all the invocation and usage details. For instance, if we define a file called awkloop.h which has these contents: #include "awkloop.h" function main () { awkloop ( "/proc/mounts" ) { rule ( $3 != "ext4" ) { nextrec } rule ( $2 == "/" ) { print $1 } } } BEGIN { main () } We have implemented a facsimile of an Awk input-scanning loop inside a function with a bit of syntactic sugar. However, these few…from kylheku.com
Does a similar job
all alternatives →- SSherlockCode2013 · sherlockcode.com · ▲9
- FAFuzzpy, a fuzzer for testing CPython2016 · mail.python.org · ▲6
- NNoowit2013 · noowit.com · ▲6
- ΜμGiffer2021 · iobureau.com · ▲7
- DDaemonNation2012 · daemonnation.com · ▲5
- RDReddit Digest2018 · digestreddit.net · ▲7
More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 1d ago · permit.petercai.com
- IV
Life & fun · 13d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 14d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 8d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 12d ago · carrierexplode.com

Life & fun · 22d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, March 2022
the whole month →- IM
Hi HN! I made many small web games in the past with Unity or Phaser. But this time I wanted to make something completely on my own. So I coded a basic game framework in plain JavaScript, and used it to make Almost Pong. This was a really fun project that taught me a lot about JavaScript, and I plan to make more minimalist games with this framework. Interesting fact: Almost Pong doesn't load any assets, all sprites and sounds are generated with code. Happy to answer questions, and please let me know if you have any feedback on the game. Thanks!
Dev tools · 2022 · lessmilk.com
- IM
Life & fun · 2022 · networksfromscratch.com
- HA
Paste the following into the console of any HN page - for annotated avatars on all HN comments. (self contained code) for(u of document.querySelectorAll('.hnuser'))for(u.prepend(c=document.createElement('canvas')),x=c.getContext('2d'),c.width=18,c.height=14,s=u.innerText,r=1,i=28+s.length;i--;i>>29>X*X/3+Y/2&&x.fillRect(6+2*X,2*Y,2,2)&x.fillRect(6-2*X,2*Y,2,2):r+=s.charCodeAt(i-28,x.fillStyle='#'+(r>>8&0xFFFFFF).toString(16)))r^=r>>17,r^=r>2
Dev tools · 2022



How well do you know your area? Test your knowledge by locating streets on a map.
Work · 2022 · backofyourhand.com