Re: name conversion

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Thu Oct 11 2001 - 05:22:13 EDT

  • Next message: Christian Holm Christensen: "Re: Energy calibration of multiplicity array"

    Hi Djam et al, 
    
    On Wed, 10 Oct 2001 21:10:09 +0200 (CEST)
    Djamel Ouerdane <ouerdane@nbi.dk> wrote
    concerning "name conversion":
    > Hi Christian,
    > 
    > > why don't you try run brconvnames on it
    > 
    > Yeah, cool script (BTW, it's not in chmod 775 by default).
    > But I would suggest one thing:
    > 
    > instead of writing to <file>.new, why not moving the old first into
    > <file>.old and write the new into <file> only ?
    
    Because I want users to check the conversion, that's why.  If the
    script moved the new code into the old name, users tend to do
    something like 
    
      prompt% brconvnames .... 
      prompt% make 
    
    (yeap, users are lazy), when users should really do 
    
      prompt% brconvnames .... 
      prompt% less ...
      (and possibly) 
      prompt% emacs ...
      prompt% mv ....new ... 
      prompt% make 
     
    Sometimes, the best way to make sure users Do The Right Thing, is to
    make it a bit more conveluted then needed :-( 
    
    Yours, 
    
    Christian Holm Christensen -------------------------------------------
    Address: Sankt Hansgade 23, 1. th.           Phone:  (+45) 35 35 96 91 
             DK-2200 Copenhagen N                Cell:   (+45) 28 82 16 23
             Denmark                             Office: (+45) 353  25 305 
    Email:   cholm@nbi.dk                        Web:    www.nbi.dk/~cholm
    



    This archive was generated by hypermail 2b30 : Thu Oct 11 2001 - 05:22:54 EDT