[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible FINDFILE bug



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