Settings

Theme

Show HN: Learn Awk with a terminal running in the browser

sandbox.bio

7 points by raboukhalil 4 years ago · 2 comments

Reader

raboukhalilOP 4 years ago

Hello HN, this is an interactive awk tutorial that features a terminal in the browser to simulate the real experience.

To get it running in the browser, I compiled gawk from C to WebAssembly! If you're interested in how that was done, check out the biowasm project: https://github.com/biowasm/biowasm/tree/main/tools/gawk

  • CRConrad 4 years ago

    Cool, thanks!

    Nitpick: On page 7, it says

       Create a file called large_order.tsv that outputs the largest order of Bottled Water...
    
    But then, under "Solution Criteria":

       File largest_order.tsv exists
    
    
    Different filenames, "large_order" vs "largest_order".

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection