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

Home » Public Forums » archive » Re: idl5.5 bug (relative path)
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: idl5.5 bug (relative path) [message #29266 is a reply to message #29176] Fri, 08 February 2002 01:16 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Nigel Wade wrote:
>
> Paul van Delst wrote:
>
>> Reimar Bauer wrote:
>>>
>>> Hi,
>>>
>>> I have problems accessing data over a relative paths.
>>>
>>> $ ls ../../../../data/mo_output/modell_original_output/test.dat
>>> gives ../../../../data/mo_output/modell_original_output/test.dat
>>>
>>>
> print,file_test('../../../../data/mo_output/modell_original_ output/test.dat')
>>> 0
>>>
>>> Is there a work around known?
>>
>> Things like
>>
>> print,file_test('~/data/mo_output/modell_original_output/tes t.dat')
>>
>> won't work either.
>>
>> bummer.
>>
>> paulv
>>
>
> I can understand that. ~ is a shell expansion (and only in some shells) so
> if it doesn't use a sub-process and a shell which understands ~, ~ won't
> get expanded.
>
> But it would be useful (at least on UNIX, I'm not sure what Windows would
> make of it).

This has worked by idl5.4.1 and it is not described anywhere that it
should
not work in idl5.5.

Reimar


--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg1/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml

http://www.fz-juelich.de/zb/text/publikation/juel3786.html
============================================================ ======
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: StrSplit wont port to Windows?
Next Topic: idl5.5 bug (relative path)

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

Current Time: Wed Oct 15 14:11:10 PDT 2025

Total time taken to generate the page: 1.04073 seconds