Re: [ROOT] Script question

From: Brett Viren (bv@bnl.gov)
Date: Fri May 09 2003 - 23:49:24 MEST


Edward Chen writes:
 > Hi - this is a really basic question.  Is there a way for ROOT to read in
 > a file like a kumac file, as if I typed each line in one at a time?

shell$ cat > file.txt
.ls
.q
^D
shell$ root < file.txt
  *******************************************
  *                                         *
  *        W E L C O M E  to  R O O T       *
  *                                         *
  *   Version   3.05/03      2 April 2003   *
  *                                         *
  *  You are welcome to visit our Web site  *
  *          http://root.cern.ch            *
  *                                         *
  *******************************************
 
FreeType Engine v2.1.3 used to render TrueType fonts.
Compiled for linux with thread support.
 
CINT/ROOT C/C++ Interpreter version 5.15.80, Mar 17 2003
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
TROOT*          Rint    The ROOT of EVERYTHING


Cheers,
-Brett.



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:11 MET