title: How to check for empty string in ksh
body: <p>I am writing a simple ksh script. I have to check if a string is empty or not. How to do so? This is what I have :</p>
  
  <pre><code>findRes=`find . -name believe | xargs grep -q "ser"`
  if [ "${findRes:-unset}" != "unset" ];then
  
       print "${file}"
  fi
  </code></pre>