I find it amusing that the ipset command has all kinds of output modifiers like -name to show only the name of the list, -terse to show the name and headers, and even -output xml, but lacks a straightforward way to list the set members only. Many tools have options like –skip-headers, –no-headers, –skip-column-names, etc., but not ipset.
I guess someone needed the XML output and contributed it, so maybe I should try and contribute -no-headers or something similar.
At least this gives me some shell scripting practice. 🙂
Leave a Reply