The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
Google UNIX.COM



Thread: Test command
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 12-03-2007
JWilliams JWilliams is offline
Registered User
 

Join Date: Apr 2007
Posts: 9
Test command

Hello,

I am trying to add some tests to existing code. The code already contains some test commands. An example is as follows...

[[ ${retCode} == 2 ]] then

Does anyone know the purpose of the double equals? I would have used a single equals sign...
Reply With Quote
Remove advertisements
!!
Forum Sponsor