Re: ipset

2015-05-09 Thread Ulf Volmer
On 05/09/2015 06:58 PM, Gokan Atmaca wrote: > The Loop gives error as follows. > > # for g in 'gawk '{print $2}' facebook.com-ip'; do ipset add face $g; done ^ ^ replace this single quotes with backticks # for g in `gawk '{print $2}' facebook.com-ip`;

Re: ipset

2015-05-09 Thread shawn wilson
On May 9, 2015 12:59 PM, "Gokan Atmaca" wrote: > > The Loop gives error as follows. > > # for g in 'gawk '{print $2}' facebook.com-ip'; do ipset add face $g; done > > ipset v6.23: Syntax error: cannot parse gawk: resolving to IPv4 address failed > ipset v6.23: Syntax error: cannot parse }: resolv

Re: ipset

2015-05-09 Thread Gokan Atmaca
The Loop gives error as follows. # for g in 'gawk '{print $2}' facebook.com-ip'; do ipset add face $g; done ipset v6.23: Syntax error: cannot parse gawk: resolving to IPv4 address failed ipset v6.23: Syntax error: cannot parse }: resolving to IPv4 address failed On Sat, May 9, 2015 at 7:36