Re: [ROOT] TEnv

From: David Boersma (dboersma@ifh.de)
Date: Wed Nov 24 2004 - 16:41:43 MET


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