Queries for metadata records. QUERY is of the form:
<name1>=’<value1>’ AND <name2>=’<value2>’ OR ...
See the examples below for formatting of various types of values. The OID and any specified fields of metadata records that match the query are printed to stdout.
<name> should be specified in the format <namespace>.<attribute>.
Note that names that are keywords need to be enclosed in escaped double quotes ("\"<name>\"=’<value>’"). Refer to the list of keywords in Chapter 4, Sun StorageTek 5800 System Query Language, in Sun StorageTek 5800 System Client API Reference Guide. Also note that some shells such as csh may not accept the escaped quotes because they are embedded in other quotes.