14 lines
665 B
Markdown
14 lines
665 B
Markdown
# GoAWK
|
|
|
|
`source/` contains unmodified GoAWK v1.31.0 from https://github.com/benhoyt/goawk.
|
|
The pinned commit is `a3632e692f585e25863eb6d4638e0b2866283d6b`.
|
|
The source includes its MIT license and upstream tests.
|
|
There are no external Go dependencies.
|
|
|
|
`userland/preview1.nu` builds this source for `GOOS=wasip1 GOARCH=wasm` with the native Go compiler.
|
|
It disables the module proxy and copies the result to `bin/awk.wasm`.
|
|
The bundle source snapshot includes this source under `/src/sausage/userland/goawk/source`.
|
|
|
|
Comparison tests run common POSIX one-liners against native awk.
|
|
External commands invoked by AWK are not available through standard WASI preview1.
|