Re: [ROOT] TEnv

From: Thomas Bretz (tbretz@astro.uni-wuerzburg.de)
Date: Mon Nov 29 2004 - 13:32:56 MET


Hi David,

I know all this tools. But it took me half a day to find out what the 
problem was (Or how do you find out, that a filename ends with a CR if 
you have no idea of what might go on). And I know that many other people 
in our collaboration already stuggled on the same thing. So what is your 
argument against this pretty simple change - which makes life easier a lot!

Thomas.

David Boersma wrote:
> On Mon, 22 Nov 2004, Fons Rademakers wrote:
> 
>> No this is not possible. Better re-save the file as "Unix".
> 
> 
> There is a simple program called "dos2unix" which solves your problem.
> It is installed by default in many linux distros.
> 
> Cheers,
> David
> 
>>
>> Cheers, Fons.
>>
>>
>>
>> On Mon, 2004-11-22 at 10:59, Thomas Bretz wrote:
>>
>>> Hi all,
>>>
>>> is it possible to do something like
>>> resource.ReplaceAll("\015", "");
>>> for all resources read from a TEnv file. Sometimes the result (reading a
>>> string) is spoiled by this character if the resource file was edited
>>> with a windows editor...
>>>
>>> Thanks,
>>> Thomas.
>>
>> -- 
>> Org:    CERN, European Laboratory for Particle Physics.
>> Mail:   1211 Geneve 23, Switzerland
>> E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
>> WWW:    http://www.rademakers.org/fons/      Fax:   +41 22 7679480
>>
> 
> -- 
> David Boersma
> DESY Zeuthen
> 



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