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

Home » Public Forums » archive » spawn and 'ls *.out'
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
spawn and 'ls *.out' [message #50283] Tue, 19 September 2006 14:40
queiny is currently offline  queiny
Messages: 15
Registered: November 2005
Junior Member
Dear IDL experts,

Can I use '*' and '?' in the UNIX commands through 'spawn'?

When I try:

> spawn, ['ls', 'data/2003????'], /noshell
Cannot access data/2003????: No such file or directory

I have files like '20030101', '20030102', etc. in this directory.
It seems 'spawn' interpolate '?' directly or literally. How could I let
IDL know?

Thanks.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Where's the syntax error? No stringst that only contain numbers?
Next Topic: Where's the syntax error? No stringst that only contain numbers?

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

Current Time: Wed Oct 08 19:55:29 PDT 2025

Total time taken to generate the page: 0.06143 seconds