title: sed -i option is not working on solaris
body: <p>I am using sed to replace a line with NULL in a file. The command i used is </p>
  
  <pre><code>sed -i "s/.*shayam.*//g" FILE
  </code></pre>
  
  <p>This is working fine in linux. shayam is replaced with blank in the FILE. But when i used this in solaris it is showing some error. </p>
  
  <blockquote>
    <p>sed: illegal option -- i</p>
  </blockquote>
  
  <p>How to use -i functionality of sed in solaris. Kindly help.</p>