Thanks, just what I needed to see!
BTW with your input put in testtpipe I get,
cat testtpipe |tpipe /inpput=testpipe2 /dup=1,1,1,100,0,"string %%1:s count %%0:d"
string This is a duplicate line count 3
string This is a duplicate line 5 count 2
I couldn't figure out what to do with that example...