title: If/Else curl command not working
body: <p>I am using a grep -c to count the occurrence of a phrase on a curl. Currently the code below return a number 12.</p>
  
  <pre><code>curl WEBSITEURL | grep -c "incident-title"
  </code></pre>
  
  <p>I want to use this in a single line if/else bash command that says that if the occurrence is greater than 0 then printf or else printf.</p>
  
  <pre><code>if curl WEBSITEURL | grep -c "incident-title" &gt; 0; then printf "Investigating Issue"; else printf "Fully Operational"; fi
  </code></pre>
  
  <p>It keeps returning "Fully Operational" even though that it should be true as 12 is greater than 0. </p>
  
  <p>Thank you in advance for your assistance. </p>