#!/bin/sh # shellcheck shell=dash set -eu check_file() { local target="$1" if [ ! -f "$target" ]; then cat <