[TxMt] Stats for Document command

Derek Wyatt ewiplayer at gmail.com
Thu Mar 15 19:46:09 UTC 2007


Hi folks,

I am just starting to get into TM a bit (I'm considering switching  
from VIM), and I noticed that the Stats for Document command is a bit  
overly complicated.  I just wanted to suggest the following instead:

wc | sed -e ':x' -e 's/\([0-9][0-9]*\)\([0-9][0-9][0-9]\)/\1,\2/' -e  
'tx' | awk '{printf "%11.11s lines\n%11.11s words\n%11.11s bytes\n", 
$1,$2,$3}'

Nice app, so far... well, except it's that a modeless editor, of  
course :)

Regs,
Derek

Derek Wyatt
http://derekwyatt.org





More information about the textmate mailing list