Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 161 Bytes

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