- May
- 13,139
- 180
From the help for TPIPE /grep
Code:
CountMatches - 1 to only output a count of the number of matches
Apparently, this will count the characters (very slowly).
Code:
v:\> type 116402.txt | tpipe /grep=2,0,0,0,1,0,0,0,.
3968262
Code:
v:\> type 116402.txt | tpipe /grep=3,0,0,0,1,0,0,0,.
116402
Code:
type 116402.txt | tpipe /grep=2,0,0,0,1,0,0,0,"[^ \t\r\n]*"
(116402 blank lines here)
582010