shell scripting - please need help

Discussion in 'Unix' started by nmh, Jan 20, 2008.

  1. nmh

    nmh New Member

    Sep 18, 2007
    Likes Received:
    Trophy Points:
    I have an assignment to do. Can you please point out if there is a error in the following code. Error message appears telling

    Error: Unknown option Please Select The Dr.
    Use --help to list options.

    thank you in advance

    dialog --backtitle "Linux Shell Script Tutorial " --title "Main\
    Menu" --menu "Move using [UP] [DOWN],[Enter] to\ (9 of 17) [17/08/2001 17.42.32]
    Linux Shell Script Tutorial
    Select" 15 50 3\
    Date/time "Shows Date and Time"\
    Calendar "To see calendar "\
    Editor "To start vi editor " 2>/tmp/menuitem.$$
    menuitem=`cat /tmp/menuitem.$$`
    case $menuitem in
    Date/time) date;;
    Calendar) cal;;
    Editor) vi;;

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice