#!/bin/ksh
# $#: command line parameters number, exclude the command itself
# $0: the command itself
# $1: the first command parameter
# $2: the second command parameter
# $*: all command parameters, exclude the command itself
if [ $# == 0 ]
then
echo "command parameters is missing. exit"
exit
fi
# input variable from user command.
echo "read your name:/c"
read NAME
echo "read your name:/c"
read AGE
echo Name=$NAME,Age=$AGE