05-02-2012, 05:53 PM
i see only two reasons:
1. it works on windows without any additional dll
2. its much faster than grep:
1. it works on windows without any additional dll
2. its much faster than grep:
Quote:# time ../maskprocessor-0.66/mp64.bin -1 ?l?u ?1?1?1?1 | grep -Eo "....$" > /dev/null
real 0m6.828s
user 0m6.900s
sys 0m0.050s
Quote:# time ../maskprocessor-0.66/mp64.bin -1 ?l?u ?1?1?1?1 | ./cutb.bin -4 > /dev/null
real 0m1.100s
user 0m1.190s
sys 0m0.140s