title: In ClearCase, how can I view old version of a file in a static view, from the command line?
body: <p>In a static view, how can I view an old version of a file?</p>
  
  <p>Given an empty file (called <code>empty</code> in this example) I can subvert <code>diff</code> to show me the old version:</p>
  
  <pre>
      % cleartool diff -ser empty File@@/main/28
  </pre>
  
  <p>This feels like a pretty ugly hack. Have I missed a more basic command? Is there a neater way to do this?</p>
  
  <p>(I don't want to edit the config spec - that's pretty tedious, and I'm trying to look at a bunch of old versions.)</p>
  
  <p><strong>Clarification</strong>: I want to send the version of the file to stdout, so I can use it with the rest of Unix (grep, sed, and so on.) If you found this question because you're looking for a way to save a version of an element to a file, see <a href="https://stackoverflow.com/questions/176858/in-clearcase-how-can-i-view-old-version-of-a-file-in-a-static-view-from-the-com/4962643#4962643">Brian's answer</a>.</p>