Re: IDL 8.0 bug -- line number of errors not given [message #72860] |
Wed, 13 October 2010 14:33  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Paul van Delst writes:
> The initial
> solution was to use ruby on the command line:
>
> $ ruby -pi.bak -e "gsub(/error_handler/i,'Message_Handler')" *.f90
>
> Bugger me if that didn't work. I thought it was neato enough to create a generic ruby script to do similar stuff (shown
> below).
>
> Let me know if it works on your code...... :o)
>
> p.s. A bloke I work with did exactly the same thing but using perl.
I'll add this to my chapter on using free software
to get IDL to do what you want it to do. ;-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|