Use `lintian --print-version` instead of `lintian --version` to determine the lintian version
The lintian
tool has a --print-version
parameter that only prints the version, so you do not need a regex to extract it afterwards.
The lintian
tool has a --print-version
parameter that only prints the version, so you do not need a regex to extract it afterwards.