On 05.01.2013 18:10, netfilter-owner@xxxxxxxxxxxxxxx wrote:
On Saturday 2013-01-05 17:05, Born Without wrote:
As I was missing those features in the ipset set listing capabilities:
- show sum of set members
- suppress listing of headers
- choose a delimiter character for separating member entries
I wrote a little wrapper script (for the bash shell) to support them.
For those who like, you'll find it attached.
There's libipset, with which this task should be achievable to the
maximum customizable degree without involving ugly text parsing with sh.
Hello Jan,
good you mention libipset, because not even the man page does, nor does
any documentation or similar exist.
Interesting, that you belittle text parsing, it's such a common task in
linux. And thank you for telling us, that C has more power that sh.
Really great insight!
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html