Re: [ROOT] Redirecting standard error

From: Christian Vogel (vogel@skunk.physik.uni-erlangen.de)
Date: Fri Jul 26 2002 - 13:00:41 MEST


Hi Alberto,

> I'd like to write an ASCII file with some data from a ROOT program, and
> the simplest way I've found is to write the data to cerr adn then
> redirect it to a file. But, how can I do this redirection? I'm running
> ROOT 3.03/02 on lxplus at CERN.

You can run your program like this (under ksh/sh/bash):

	your_program 2>output_file

   Chris

-- 
wind catches lily
scatt'ring petals to the wind:
segmentation fault
-- Nick Sweeney



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:01 MET