This is described in the first pages of teh Users Guide
root > myTree->Scan("floorZ[0][1]",inECp01); > myFileDump
root > .x script.C > scipt.log
Note the ";" in the first case (C++ statement)
and no ";" when executing a scipt
Rene Brun
On Tue, 10 Aug
2004, Stilianos Kesisoglou wrote:
> 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