This archive is retained to ensure existing URLs remain functional. It will not contain any emails sent to this mailing list after July 1, 2024. For all messages, including those sent before and after this date, please visit the new location of the archive at https://mailman.ripe.net/archives/list/db-wg@ripe.net/
[db-wg] parms for simple answer
- Previous message (by thread): [db-wg] parms for simple answer
- Next message (by thread): [db-wg] parms for simple answer
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Shane Kerr
shane at time-travellers.org
Tue Aug 27 11:39:10 CEST 2019
Randy, On 27/08/2019 09.48, Randy Bush via db-wg wrote: > is there no parm to whois which results only in the specific answer, not > also the org: person: and grandmother: objects? i want it irrespective > of object type i am looking up. > > ``` > whois -h whois.ripe.net -r -T inetnum 147.28.0.0/16 | egrep -v '^($|%)' > ``` > is opbject-type specific I'm not sure what you mean, exactly what you mean, but... The '-r' flag seems to disable related answers and is not type-specific. You can use the '-x' flag to prevent searching for less-specific matches, which is the default behavior. I believe this applies for all hierarchical types (so at least inet6num, route6, inetnum, route, as-block, and domain object types). You may want to still couple the '-x' with '-T', since you can end up with inetnum and route objects returned, or aut-num and as-block. Cheers, -- Shane
- Previous message (by thread): [db-wg] parms for simple answer
- Next message (by thread): [db-wg] parms for simple answer
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[ db-wg Archives ]