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

Home » Public Forums » archive » Re: Problem with "~" in Unix FINDFILE, still?
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: Problem with "~" in Unix FINDFILE, still? [message #2325 is a reply to message #2314] Thu, 09 June 1994 03:18 Go to previous message
knipp is currently offline  knipp
Messages: 68
Registered: January 1993
Member
In article 120922@ossenu.astro.nwu.edu, pendleton@ossenu.astro.nwu.edu (Jim Pendleton) writes:
> Could someone verify the following Unix IDL "bug" for me in a more recent
> version of IDL than 3.0.0?
>
> The problem I am seeing is that the FINDFILE function doesn't properly
> interpret a "~" as a symbol for the home directory.
>
...

Unfortunately the "more recent version" of mine is just 3.1.1 (SunOs), but
I can comform that "bug".

Anyway, each filename I define I test on the following:

starts with '~'
--> change to getenv('HOME')
starts with '$XYZ'
--> change to getenv('XYZ')
starts with neither '.' nor '/'
--> serach along IDLPATH for file


If someone is interested I'll post/e-mail the routine performing the
described tests.

Karlheinz

____________________________________________________________ __________________
__ ____ __
/ // _ \ / / Karlheinz Knipp phone: +49 511 - 762 4922
/ // /_/ // / University of Hannover fax: +49 511 - 762 2483
/ // ____// / Institute for Photogrammetry
/ // / / / Nienburger Str.1
/_//_/ /_/ FRG 30167 Hannover e-mail: knipp@ipi.uni-hannover.de
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL and NIS - cd?
Next Topic: Elementary image question

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

Current Time: Fri Oct 10 09:52:58 PDT 2025

Total time taken to generate the page: 0.00426 seconds