On Wed, 18 Jun 2003, dlangschied wrote:

> I am having a bit of difficulty with writing a script.  I am on Linux 8.0
> and trying to run a case statement like a would in HP-UX.  This is not

If all you want to do is run a menu, you might want to look at the select 
command instead:

    echo Press CTRL-C to quit...
    select CMD in "echo Test 1" "echo Test 2" "more /etc/passwd"; do
        $CMD
    done

-- 
The DMCA is anti-consumer. The RIAA has no right to rewrite copyright
laws to suit themselves.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to