tests/testthat/examples/knitr-examples/024-engine-awk.md

Does Awk work in knitr?

We need to pass a file option to Awk.

# how many non-empty lines?
NF {
  i = i + 1
}
END { print i }
## 590


Try the parsermd package in your browser

Any scripts or data that you put into this service are public.

parsermd documentation built on Aug. 21, 2025, 5:27 p.m.