#!/bin/sh read -p "$1 [yN] " ans ([[ "$ans" == "Y" || "$ans" == "y" ]] && exit 0) || exit 1