自己编的一个通讯录系统(简陋了点)[6]

[入库:2005年9月19日] [更新:2007年3月24日]

本文简介:

                        y|Y|[Yy][Ee][Ss] )
                                        echo $name:$mail:$address:$phone:$mobile:$message >> addressbook ;
                                        echo Do you want to add another person [ y or n ,and any other key will exit! ]:
                                        read
                                        case $REPLY in
                                                y|Y|[Yy][Ee][Ss] ) add;;
                                                n|N|[Nn][Oo] ) menu;;
                                                * ) exit 0;;
                                        esac
                                        ;;
                        n|N|[Nn][Oo] )  echo Which one is incorrect? Pick out it :; redo;;
                        * ) echo -ne "\33[31mError! Please input [ y or n ]:  \33[0m"
                esac
done
}
 
function addperson ()
{
        echo -n "Input the Name: "; read name ;
        echo -n "Input the E-mail: "; read mail ;
        echo -n "Input the Address: "; read address ;
        echo -n "Input the Phone Number: "; read phone ;
        echo -n "Input the Mobile Phone Number: "; read mobile ;
        echo -n "Input the other messages if necessary: "; read message ;
        check;
        identify;
}
 
function add ()
{
                echo Please  follow the next steps !
                stty erase '^?'

本文关键:自己编的一个通讯录系统(简陋了点)
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top