#!/bin/ksh fred=wilma barney=betty nnnn=2060 clear variable=bedrock.ksh echo "$fred and $barney are so Sixties (2060 B.C. that is)" echo echo "Fred will retire $RETIRE years after the year $((nnnn-RETIRE)) B.C." echo if [ -d ~/bak ]; then exit 2> /dev/null else mkdir ~/bak cp ${variable} ~/bak/${variable}_bak fi