Hi Christian, very good. Thanks. Any idea how to get this in the magic files distributed by RH, Debian, etc. ? Cheers, Fons. On Fri, 2002-06-14 at 12:40, Christian Holm Christensen wrote: > On 05 Jun 2002 14:00:19 +0200 > Fons Rademakers <Fons.Rademakers@cern.ch> wrote > concerning "Re: [ROOT] Suggestion": > > Hi Wolfgang, > > > > on linux: > > - copy /usr/share/magic to ~/.magic > > - add to ~/.magic the lines: > > # ROOT file > > 0 string root ROOT data file > > - set in your .bash_profile: > > export MAGIC=~/.magic > > A better /etc/magic (or /usr/share/misc/magic or /usr/share/magic) > entry is > > #---------------------------------------------------------------------- > # ROOT: file(1) magic for ROOT databases > # > 0 string root ROOT file > >4 belong x Version %d > >33 belong x (Compression: %d) > > > It'll give you the version number and compression level as well. > > Yours, > > ____ | Christian Holm Christensen > |_| | ------------------------------------------------------------- > | | Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91 > _| DK-2200 Copenhagen N Cell: (+45) 24 61 85 91 > _| Denmark Office: (+45) 353 25 305 > ____| Email: cholm@nbi.dk Web: www.nbi.dk/~cholm > | | -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7679480
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:57 MET