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

Home » Public Forums » archive » findfile on unix bug - help
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
findfile on unix bug - help [message #26927] Thu, 04 October 2001 12:43 Go to previous message
R.G.S. is currently offline  R.G.S.
Messages: 46
Registered: September 2000
Member
Hi,



I have a problem running my code on a unix machine
(idlv5.4). The command is as follows:


files = findfile(subdirectory+'*.dat',count=num)

This does not give me the files in that subdirectory, rather it gives me the
files in the current folder.



So now if I do the same command as:
files = findfile(subdirectory+'*',count=num)
I do get the entire listing. This is how I work around it,
however, it is possible that there are files other than the *.dat
and I want to filter on those. This works in win2000 nicely, so
what is the problem on the unix side?

I can use * in unix command lines. For instance
> ls *.txt
lists only the txt files.

So how do I perform this command so as to find and filter
the *.dat files?


Cheers,
bob stockwell
colorado research associates
boulder co usa


-- didn't find anything helpful on google groups
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Possibly O/T: printing IDL code in colour
Next Topic: Re: Color mode rgb -> cmyk?

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

Current Time: Wed Oct 08 16:50:21 PDT 2025

Total time taken to generate the page: 0.00405 seconds