title: cleartool: how to write the result from command find to a text file
body: <p>I am trying to find all the files under gt.BridgeGov branch in my view </p>
  
  <pre><code>  find \gtGov -all -version "brtype(gt.BridgeGov)" -print 
  </code></pre>
  
  <p>This statement works fine and list all the files under branch gt.BridgeGov. I am getting the list on console, but I want to redirect result to text file.</p>
  
  <p>I tried the following </p>
  
  <pre><code>find \gtGov -all -version "brtype(gt.BridgeGov)" &gt; myFile.txt
  find \gtGov -all -version "brtype(gt.BridgeGov)" &gt;&gt; myFile.txt 
  </code></pre>
  
  <p>Its throwing me an error cleartool: Error: Extra arguments: ">"</p>
  
  <p>How can redirect the result to a text file?</p>
  
  <p>-Update: </p>
  
  <pre><code>find \gtGov -all -version "brtype(gt.BridgeGov)" -print &gt; myFile.txt
  </code></pre>
  
  <p>Tried this also
  Complete Error When I try</p>
  
  <pre><code>find \gtGov -all -version "brtype(gt.BridgeGov)" | tee myFile.txt 
  
  cleartool: Error: Extra arguments: "|"
  Usage: find { pname ... [-depth | -nrecurse | -directory]
          | [pname ...] -all [-visible | -nvisible]
          | -avobs [-visible | -nvisible]
          }
          [-name 'pattern']
          [-cview]
          [-user login-name]
          [-group group-name]
          [-type {f|d|l}...]
          [-follow]
          [-kind object-kind]
          [-nxname]
          [-element query]
          [-branch query]
          [-version query]
          {-print | -exec command-invocation | -ok command-invocation} ...
  </code></pre>