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

Home » Public Forums » archive » Re: FINDFILE and Unix
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: FINDFILE and Unix [message #18700] Wed, 02 February 2000 00:00 Go to previous message
dsreyn is currently offline  dsreyn
Messages: 10
Registered: December 1999
Junior Member
In article <389877C1.39D7C9C4@lheapop.gsfc.nasa.gov>,
tam <tam@lheapop.gsfc.nasa.gov> writes:

> Findfile on unix is rather more of a direct invocation of ls than
> you might imagine.
>
> E.g., to get only files and directories in a given directory without
> looking in subdirectories...
>
> files = findfile('-d somedirectory/*')
>
> I.e., you can specify the -d qualifier for the ls command -- and
> as far as I know any other ls qualifier, e.g., you can use -l to get
> the long directory listing...

Thanks for the tip; IDL doesn't document the fact that FINDFILE will accept
ls switches. This does have a portability problem, though, and it would still
be nice if IDL could implement something that would work on both Unix and
MS Windows.

Doug
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Problems with IDL under X
Next Topic: data interpolation

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

Current Time: Fri Oct 10 05:10:22 PDT 2025

Total time taken to generate the page: 1.12004 seconds