comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Q: routine name case sensitivity on unix
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Q: routine name case sensitivity on unix [message #17477 is a reply to message #17472] Fri, 22 October 1999 00:00 Go to previous messageGo to previous message
Mirko Vukovic is currently offline  Mirko Vukovic
Messages: 124
Registered: January 1996
Senior Member
In article <7uq3nv$o6q@post.gsfc.nasa.gov>,
thompson@orpheus.nascom.nasa.gov (William Thompson) wrote:
> Mirko Vukovic <mvukovic@taz.telusa.com> writes:
>
>> I wrote a bunch of routines on windows that a fellow is trying
>> to run on unix. It seems (according to him), that if
>> IDL encounters an un-compiled routine, it tries to find it,
>> but then the case has to match. That can be a problem if
>> the code refers to routine Xyz, which is stored in XYZ.pro. It seems
>> that Unix (I think he is on Linux) machines cannot make the
connection
>> between the two.
>
> That's almost correct. IDL doesn't actually pay attention to the case
used in
> an IDL statement. Routine Xyz can also be referred to as xyz, XYZ,
xYz, etc.
> When it's looking for this routine in the path, it always assumes that
the
> routine is stored in a file with all lowercase characters, i.e.
"xyz.pro".
> On the Unix machine, simply change all your filenames to lowercase,
and you
> should be all set.
>
> The only practical way to compile a routine stored in a mixed case
filename is
> to use .run which is case-sensitive, e.g. ".run XYZ.pro".
>
> William Thompson
>

hmmm, do you know of a good way to rename all routines in a
directory to lower case? I presume it would involve pipes,
ls, grep, etc, but don't have the time to figure it all out now.

tia,

Mirko


Sent via Deja.com http://www.deja.com/
Before you buy.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: GIF89a support in IDL
Next Topic: Z-Buffer

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 03:45:00 PDT 2025

Total time taken to generate the page: 0.79855 seconds