On May 9, 2015 12:59 PM, "Gokan Atmaca" <linux.go...@gmail.com> 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 }: resolving to IPv4 address failed >
IIRC you need to define the set first and it's telling you the data isn't an IP address. You should show some data.