5 ms·
I was wondering how you'd read a key in raw mode in awk. The answer, I found with a mix of horror and admiration is 3 forks. Two stty and one bash (presuming r
by emmelaich 11y ago
I was wondering how you'd read a key in raw mode in awk.
The answer, I found with a mix of horror and admiration is 3 forks. Two stty and one bash (presuming read and echo are builtins)
- i336_ 11y agoNow it's been updated to use dd, and can run with /bin/sh. It's sad that languages rise and fall by the feature base present in their standard libraries.