title: Kornshell If statement not working
body: <p>So I'm new to kornshell and i can't get my if statement to work. This what I have in my file</p>
  
  <pre><code>if $1 = "Y"
  then
      echo "I am here";
  fi
  </code></pre>
  
  <p>And when I execute the file this is the error that I get:</p>
  
  <pre><code>test.ksh[1]: Y: not found [No such file or directory]
  </code></pre>
  
  <p>What am I doing wrong?</p>