#!/bin/bash set -u export LC_ALL=C expected_version="$1" app="sort" ver_check $app $expected_version || echofail "$app $expected_version check failed." exit $?