title: Bash mv not a directory
body: <p>I have part of my script that goes like this:</p>
  
  <pre><code>while read line  
  do 
  code=`echo ${line}  | awk  '{print $1}'`
  awk -f ${supscript}/rearrange.sh &lt; ${base}/${code}  
  mv temp_output* "$code"temp_output* 
  done &lt; filelist
  </code></pre>
  
  <p>The script is working; the only problem is that when it is trying to rename the file I got the following error message:</p>
  
  <pre><code>mv: target `pollcodetemp_output*' is not a directory
  </code></pre>
  
  <p>Maybe it is something related with the IFS. I try to specify this at the beginning of the script as:</p>
  
  <pre><code>IFS='
  '
  </code></pre>
  
  <p>But it is not working. I'm using a Windows text editor but I have already removed the CR.</p>