RE: [ROOT] re-directing the screen output on ROOT

From: Philippe Canal (pcanal@fnal.gov)
Date: Tue Aug 10 2004 - 20:43:39 MEST


re-directing the screen output on ROOTHi Stelios,

Use
   root [] myTree->Scan("floorZ[0][1]",inECp01); > myFileDump
Note the semicolon at the end of the C++ command.

Remember that you can get information about CINT special abilities by just
typing
    root [] .?

Cheers,
Philippe.
  -----Original Message-----
  From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Stilianos Kesisoglou
  Sent: Tuesday, August 10, 2004 11:49 AM
  To: roottalk@pcroot.cern.ch; d0rug@fnal.gov
  Subject: [ROOT] re-directing the screen output on ROOT


  Hi,

  Is there any way to re-direct the screen output of ROOT from the command
line
  to a file, in the same way that is done on UNIX?

  For example on UNIX one can do:

  % cat myFile > myFileDump

  Is there anything like that available from the command line on ROOT for
example:

  root [63] myTree->Scan("floorZ[0][1]",inECp01) > myFileDump

  Thanks!

  Stelios.



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET