[TxMt] Re: Character and Word Counting of Highlighted Text

Ned Baldessin androse at gmail.com
Wed Nov 17 21:39:12 UTC 2004

Does that work with double-byte or "special" characters ? Last time I
tried the character count wasn't accurate for UTF-8 encoded characters
or punctuation. Thanks.

On Tue, 16 Nov 2004 16:31:39 +0000, Stuart Wheeler
<textmatelist.to.wheeles at spamgourmet.com> wrote:
> OK, got my license. Thanks!
> I hadn't even looked at the command stuff that closely - reminds me a
> little of TextPad on Windows. This opens up a whole new world of
> usefulness. I changed your command to:
> wc | /usr/bin/awk '{print "lines:", $1, " words:", $2, " chars:", $3}'

More information about the textmate mailing list