google / textfsm

Python module for parsing semi-structured text into python tables.
Apache License 2.0
1.12k stars 175 forks source link

Is Clearall supposed to clear previously recorded rows? #95

Open allan-silverstein opened 3 years ago

allan-silverstein commented 3 years ago

Hi, I have a scenario where I'm using Filldown. At some point, I want to clear all Filldown data but not have it affect previously recorded rows. It seems that when I use Clearall, it is clearing even rows that supposedly have all ready been processed and recorded? Does this sound right? Thx

buxtronix commented 3 years ago

No, ClearAll should just clear all values in the current row (including Filldown columns). Perhaps you are reusing a previously returned row someone? This depends on what the rest of your code looks like.

allan-silverstein commented 3 years ago

Ok, thx. Can I just attached textfsm and text file to this thread?

harro commented 10 months ago

@allan-silverstein Is this still an issue, did you want to upload an example?