title: Whats wrong with if statement in shell script
body: <p>Here is my statements:</p>
  
  <pre><code>print "Ss $# $2" &gt;&amp;3
  if [ $# -eq 4 || $# -eq 3 ] &amp;&amp; [ $2 != "d" ]
  then
          print "sss"
  else
          print "lol"
  fi
  </code></pre>
  
  <p>The output is:</p>
  
  <pre><code>Ss 4 s
  lol
  </code></pre>
  
  <p>Why is "sss" not being displayed?</p>