title: Unix script to delete file if it contains single line
body: <p>Consider I have a file abcde.txt which may contain one or more lines of text. I want a script that will DELETE the file if it contains single line.</p>
  
  <p>Something like, <code>if 'wc -l abscde.txt' = 1 then rm abscde.txt</code></p>
  
  <p>My system : Solaris </p>