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 | |
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:57 MET