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 -->
  #1 (permalink)  
Old 05-02-2007
hitmansilentass hitmansilentass is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 37
reduce the or conditions

Hi ,

how can i reduce the or conditions:

if [[ -z $XXXX || -z $YYYYY || -z $TTTT || -z $NNNN || -z $QQQQ ]]; then

whatever

fi