#!/bin/bash
set -e
adr_bin_dir=/usr/libexec/adr-tools

"$adr_bin_dir/_adr_status" "$1" | sed -n -E 's/^(.+) \[.*\]\(0*([1-9][0-9]*).*\)/\2=\1/p'
