[M] Change in osmo-ci[master]: lint/lint_diff: make use of shell functions