The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
case statement
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
case statement
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
09-11-2007
porter
Registered User
Join Date: Jan 2007
Posts: 2,965
the format is wrong
Code:
case "$ans" in y | Y ) echo yes ;; * ) echo default ;; esac
porter
View Public Profile
Find all posts by porter