summaryrefslogtreecommitdiff
path: root/common-bytes.py
AgeCommit message (Collapse)AuthorFilesLines
2013-12-16common-bytes.py: fix uneven line matchPeter Wu1-1/+1
2013-12-07common-bytes.py: context supportPeter Wu1-8/+36
With the "-C" option, a number of columns can be included before skipping them. Bugfix: reset skip state to avoid eating chars at the beginning for the next line. Enhancement: ignore EPIPE. Also adjusted the middle threshold to 9 ("XX..N..XX").
2013-12-07common-bytes: fix color terminationPeter Wu1-22/+17
Previously, the colors were not cleared as an attempt to optimize printing. New approach (requiring less LOC as well): print color if it does not equal the current state (previous color).
2013-12-07common-bytes.py: find patterns in fixed-length linesPeter Wu1-0/+217
Use case: analyse captured TCP traces.