- May
- 13,117
- 180
Below, I asked TPIPE to split the file at the character 'b' (after seeing 'b' 0, 1, and 2 times). The file was not split.
Code:
v:\> echo abcabcabcabc > abc.txt
v:\> tpipe /input=abc.txt /split=1,0,b,0,0,0,abc.txt
v:\> dir /k /m abc*
2013-06-01 01:17 14 abc.txt
2013-06-01 01:18 14 abc.txt.000
v:\> tpipe /input=abc.txt /split=1,0,b,0,1,0,abc.txt
v:\> dir /k /m abc*
2013-06-01 01:17 14 abc.txt
2013-06-01 01:19 14 abc.txt.000
v:\> tpipe /input=abc.txt /split=1,0,b,0,2,0,abc.txt
v:\> dir /k /m abc*
2013-06-01 01:17 14 abc.txt
2013-06-01 01:20 14 abc.txt.000