A2IDMATCH(1) General Commands Manual A2IDMATCH(1)

a2idmatchtest whether an ARPA2 identifier matches a selector

a2idmatch [-hqv] a2id selector

The a2idmatch utility tests whether a given A2ID matches with an A2ID selector.

It's arguments are as follows.

Print usage.
Be quiet and don't write to stdout. Exit 0 if a2id matches with selector, or exit 2 if not.
Be more verbose.
a2id
The ARPA2 ID to test.
selector
The ARPA2 ID Selector to use when testing a2id.

The a2idmatch utility exits 0 if a2id matches with selector, 2 if there is a mismatch, and 1 if an error occured.

a2id_match(3)

ARPA2 Identifier and ACL introduction

ARPA2 ID Grammar

ARPA2 ID Selector Grammar

Tim Kuijsten

February 7, 2019 OpenBSD 6.6