The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Accepting Upper and Lower case
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Accepting Upper and Lower case
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
10-03-2006
vish_indian
Registered User
Join Date: Jun 2006
Location: Delhi, India
Posts: 92
Quote:
if ("$ret" != "y" || "$ret" != "Y") then
change that to
Code:
if ("$ret" != "y" && "$ret" != "Y") then
&& is required to be used with !=, ("$ret" != "y" || "$ret" != "Y") will always result in true.
vish_indian
View Public Profile
Find all posts by vish_indian
Find vish_indian's past nominations received
Find vish_indian's present nominations given