Discovered another emacs command yesterday:
how-many
Returns the count of a regex following the point (cursor position).
For example
M-x how-many
\b\w
returns a word count from point to the end of the buffer.
Nice.
Yet Another Day [Comic]
1 hour ago
3 comments:
yes. it is nice. for statistics. thanks~
I posted how to do this but I used a different regular expression: \w+
Grateful for shariing this
Post a Comment