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 #29176] Thu, 07 February 2002 10:40 Go to previous message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
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).

--
-----------------------------------------------------------
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523568, Fax : +44 (0)116 2523555
[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: Fri Oct 10 13:25:54 PDT 2025

Total time taken to generate the page: 0.39914 seconds