title: zip command not working
body: <p>I am trying to zip a file using shell script command. I am using following command:</p>
  
  <pre><code>  zip ./test/step1.zip $FILES
  </code></pre>
  
  <p>where $FILES contain all the input files. But I am getting a warning as follows</p>
  
  <pre><code>    zip warning: name not matched: myfile.dat
  </code></pre>
  
  <p>and one more thing I observed that the file which is at last in the list of files in a folder has the above warning and that file is not getting zipped.</p>
  
  <p>Can anyone explain me why this is happening? I am new to shell script world.</p>