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

Home » Public Forums » archive » Re: Possible FINDFILE bug
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: Possible FINDFILE bug [message #19279] Mon, 13 March 2000 00:00 Go to previous message
Bernard Puc is currently offline  Bernard Puc
Messages: 65
Registered: January 1998
Member
I received a note from RSI explaining that FINDFILE for UNIX was
changed in version 5.3 to fix the limitation imposed by using the UNIX
command ls. An unintended consequence of that change is to not handle
filenames with whitespace characters properly. A fix will be
implemented for IDL 5.4.

Nigel Wade wrote:
>
> Bernard Puc wrote:
>>
>> Hello,
>>
>> It seems that the findfile() function has changed between version 5.2
>> and 5.3. In 5.2, findfile would return filenames that have a space in
>> them. Version 5.3 does not. This is on a Linux system. Can anybody
>> verify this on other platforms?
>>
>> --
>> Bernard Puc AETC, INC.
>> bpuc@va.aetc.com 1225 Jefferson Davis Highway #800
>> (703) 413-0500 Arlington, VA 22202
>
> It's the same for IRIX 6.5.
>
> $ touch "a b c"
>
> $ idl_5.2
> IDL Version 5.2.1 (IRIX mipseb). (c) 1999, Research Systems, Inc.
> IDL> a=findfile("a*",count=b)
> IDL> print,a
> a b c
> IDL> print,b
> 1
>
> $ idl_5.3
> IDL Version 5.3 (IRIX mipseb). (c) 1999, Research Systems, Inc.
> IDL> a=findfile("a*",count=b)
> IDL> print,a
>
> IDL> print,b
> 0
>
> --
> -----------------------------------------------------------
> 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

--
Bernard Puc AETC, INC.
bpuc@va.aetc.com 1225 Jefferson Davis Highway #800
(703) 413-0500 Arlington, VA 22202
[Message index]
 
Read Message
Read Message
Previous Topic: Re: matching lists
Next Topic: BOOKS ON COMPUTER LANGUAGES ?

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

Current Time: Fri Oct 10 07:16:17 PDT 2025

Total time taken to generate the page: 0.87997 seconds