#!/bin/sh . ../tui.sh num="${1:-1}" printf 'Usage: readchar NUMBER\n' printf 'Input characters (number=%s):\n' "$num" tui_readchar -n "$num" VAR echo Characters: $VAR