Re: Consolidate several lines of a CSV file with firewall rules [PS]

2013-10-11 Thread Mark Lawrence
On 11/10/2013 22:22, Starriol wrote: On Friday, October 11, 2013 5:50:06 PM UTC-3, Tim Chase wrote: On 2013-10-11 15:40, Tim Chase wrote: the dangling open-quotes on #1 that cause most CSV parsers to read until the subsequent line is read. And by "subsequent line", I mean "subsequent cl

Re: Consolidate several lines of a CSV file with firewall rules [PS]

2013-10-11 Thread Starriol
On Friday, October 11, 2013 5:50:06 PM UTC-3, Tim Chase wrote: > On 2013-10-11 15:40, Tim Chase wrote: > > > the dangling open-quotes on #1 that cause most CSV parsers to read > > > until the subsequent line is read. > > > > And by "subsequent line", I mean "subsequent closing-quote" of > > c

Re: Consolidate several lines of a CSV file with firewall rules [PS]

2013-10-11 Thread Tim Chase
On 2013-10-11 15:40, Tim Chase wrote: > the dangling open-quotes on #1 that cause most CSV parsers to read > until the subsequent line is read. And by "subsequent line", I mean "subsequent closing-quote" of course. :-) -tkc -- https://mail.python.org/mailman/listinfo/python-list

Re: Consolidate several lines of a CSV file with firewall rules

2013-10-11 Thread Tim Chase
On 2013-10-11 08:01, Starriol wrote: > NO.;NAME;SOURCE;DESTINATION;VPN  ;SERVICE;ACTION;TRACK;INSTALL > ON;TIME;COMMENT > 1;;fwxcluster;mcast_vrrp;;vrrp;accept;Log;fwxcluster;Any;"VRRP;;*Comment > suppressed* ;igmp**; > 2;;fwxcluster;fwxcluster;;FireWall;accept;Log;fwxcluster;Any;"Managemen

Re: Consolidate several lines of a CSV file with firewall rules

2013-10-11 Thread Joel Goldstick
On Fri, Oct 11, 2013 at 11:01 AM, Starriol wrote: > Hi guys. > I have a CSV file, which I created using an HTML export from a Check Point > firewall policy. > Each rule is represented as several lines, in some cases. That occurs when a > rule has several address sources, destinations or services