Re: how to convert pf-table into csv

2016-09-22 Thread Miroslav Lachman
Yavuz Maşlak wrote on 09/09/2016 23:08: İ have a dynamic pf-table as below; 10.10.231.230 Cleared: Fri Sep 9 22:55:53 2016 In/Block:[ Packets: 0 Bytes: 0 ] In/Pass: [ Packets: 33455 Bytes: 2796398 ]

RE: how to convert pf-table into csv

2016-09-22 Thread Yavuz Maşlak
If i use awk, could you give a code an example ? For instance; 10.10.240.77 Cleared: Thu Sep 22 13:22:50 2016 In/Block:[ Packets: 0 Bytes: 0 ] In/Pass: [ Packets: 68000 Bytes: 9899430 ] Out/Block: [ Packets: 0

Re: how to convert pf-table into csv

2016-09-22 Thread Rob Fraser
http://www.grymoire.com/Unix/Awk.html You can lead a horse to water You can lead a horse to water (but you can't make him/it drink). On Thu, Sep 22, 2016 at 5:42 AM, Yavuz Maşlak wrote: > If i use awk, could you give a code an example ? > > For instance; >