Searching for contacts matching the input data

KABC-Client can take data from the command line or from the program's standard input and check it for similarities against all contacts in the KDE address book. Searching is the default mode but it can be explicitly be chosen using the --search or -S command line argument.

In the following example, all contacts with jane as part of any name field or email address will be written to the program's standard output, formatted as vCards (since this is the default for the --output-format option):

% kabcclient --search jane

Same query again, this time reading the search string from the program's standard input:

% echo jane | kabcclient --search

Case sensitivity of queries can be toggled using the --match-case option.