tbird20d / grabserial

Grabserial - python-based serial dump and timing program - good for embedded Linux development
GNU General Public License v2.0
198 stars 79 forks source link

Option to exit program based on string match. #4

Closed simeonmiteff closed 10 years ago

simeonmiteff commented 10 years ago

This adds an option to grabserial to exit when a regular pattern (specified with -q or --quitpat) matches mid-line on the output. Can be used as an alternative to --endtime when one only wants to capture up to some known point in the serial port output.

Assuming it makes sense to increment the minor version number.