The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 10-03-2006
lweegp lweegp is offline
Registered User
  
 

Join Date: Oct 2005
Location: singapore
Posts: 107
Quote:
Originally Posted by vish_indian
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.
wonderful!! thanks so much vish!