Thursday, February 4, 2016
AWK: Number of Lines
print out number of lines without newline:
$ awk 'BEGIN {} END { printf "%i", NR }' ./lines.txt
Newer Post
Older Post
Home