title: unable to redirect data by using awk or cat
body: <p>I am using AIX for following code:</p>
  
  <pre><code>#!/bin/sh
  cat ip.txt | awk -F ' ' '{print $2,$1}' &gt;op.txt
  </code></pre>
  
  <p>or</p>
  
  <pre><code>awk -F ' ' '{print $2,$1}' ip.txt &gt; op2.txt
  </code></pre>
  
  <p>It is generating an unknown file named "oxb1du". 
  Aslo, I can see file <code>op2.txt</code> after <code>ls -ltr</code> but it does not contain any data.</p>
  
  <pre><code>I/P file:
      name 1
      info 21
      city 28
      pin  31
      state 34
  </code></pre>