New issue 3 by is...@gmx.net: Transition to "End" state does not terminate
processing of input lines
http://code.google.com/p/textfsm/issues/detail?id=3
What steps will reproduce the problem?
Using the attached example files:
textfsm.py exampletemplate exampleinput
What is the expected output?
FSM Table:
['IsOK', 'LineNo']
['OK', '1']
['OK', '2']
What do you see instead?
FSM Table:
['IsOK', 'LineNo']
['OK', '1']
['OK', '2']
['OK', '4']
['OK', '5']
What version of the product are you using? On what operating system?
textfsm 0.2.0, Ubuntu 10.04.4 LTS, x86_64, Python 2.6.5
TextFSMHowto mentions that "The End state is reserved and terminates
processing
of input lines and does not execute the EOF state."
This doesn't seem to work. The exampletemplate file also contains my current
workaround, i.e. transition to a state "Foo" which has no rules, but while
faster it's not a real solution.
Attachments:
exampletemplate 294 bytes
exampleinput 24 bytes