Sed/wc- 002dl

From Get docs

Next: head, Previous: wc -w, Up: Examples   [Contents][Index]


7.14 Counting Lines

No strange things are done now, because sed gives us ‘wc -l’ functionality for free!!! Look:

#!/usr/bin/sed -nf
$=