[quiet] [timestamp] [default=] [tabs] [keys] [multiple]
keyword ...
getkey: 'keyword' not found in 'string'and exit with error code 1.
default= prints out the specified default value if the keyword is not found exiting with a status of 1. When specified, the quiet mode is also set.
keys - prints out the key= part too rather than just the value.
multiple - picks the last keyword/value of multiple ones.
timestamp - looks for an ISO string (e.g. 2020-03-30T19:24:24Z) and prints it out.
tabs - prints out tabs instead of spaces between keyword fields.
echo done focus mm=25.4 | getkey mmproduces the output
25.4