1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

shell scripting - please need help

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

  1. nmh

    nmh New Member

    Joined:
    Sep 18, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    0
    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\
    http://www.freeos.com/guides/lsst/maspc.htm (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.$$`
    opt=$?
    case $menuitem in
    Date/time) date;;
    Calendar) cal;;
    Editor) vi;;
    esac
     

Share This Page