#!/bin/sh in=$1 prompt="${1##*/}" prompt="${prompt%.*}" shift { read c while read c; do if [ "${c#!}" != "$c" ]; then eval "${c#!}" \033[1m$c\033[m " read x