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

Home » Public Forums » archive » Re: 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
Re: findfile on unix bug - help [message #26925 is a reply to message #26924] Thu, 04 October 2001 13:39 Go to previous messageGo to previous message
nobody@nowhere.com (S is currently offline  nobody@nowhere.com (S
Messages: 55
Registered: July 2001
Member
On Thu, 4 Oct 2001 13:43:43 -0600, R.G.S. <rgs1967@hotmail.com> wrote:
> 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)

On Linux and IDL 5.2, I do: result=findfile('subdirectory/*.dat') and it
works fine, what's the "+" for anyways?

-Steve

>
> 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
>
>
>


--
Steve S.

steve@NOSPAMmailaps.org
remove NOSPAM before replying
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: the precision of PRINT and HELP statements
Next Topic: Re: Polygon filling oddities

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

Current Time: Sun Oct 12 00:52:37 PDT 2025

Total time taken to generate the page: 1.59713 seconds