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

Home » Public Forums » archive » IDL batchfile as a linux script?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDL batchfile as a linux script? [message #58716] Mon, 11 February 2008 21:25
eyuchen is currently offline  eyuchen
Messages: 8
Registered: February 2008
Junior Member
Hello everyone,

I am probably trying to use IDL batch files in a strange way.
What I am trying to do is as follows:
1. I have a bunch of files 1.txt, 2.txt, ..., 500.txt in a folder.
2. I will make some calculation, and get a result i, which is an
integer, that ranges from 1 to 500.
3. Depending on the result, I will move the file whose name coincides
with i to another folder.

Basically, I want to put a line similar to "$mv string(i)+'.txt' ../
anotherfolder/string(i)+'.txt'" in my IDL batchfile. Of course, that
won't work for obvious reason...

Another way to put my question is: Is there anyway to pass variables
between IDL and Linux shell?
[Message index]
 
Read Message
Previous Topic: IDLWAVE tab completion error
Next Topic: One ellipse to rule them all

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

Current Time: Sat Oct 11 04:31:09 PDT 2025

Total time taken to generate the page: 0.23521 seconds