s. The output of this command, which is 1 for non-letters and null for OK, is held in the variable _LETTERS_ONLY.
A test on the variable is then carried ... {
echo " $@ contains errors, it must contain only letters"
}
The function name_error will be used to e... {
# assign the argurment across to new variable
_LETTERS_ONLY=$1
_LETTERS_ONLY=`echo $1|awk '{if($0~/[^a-zA-Z]/) print "1"}'`
if [ "$_LETTERS_ONLY" != ""