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

Home » Public Forums » archive » Re: not so IDL related... Command line auto-feed
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: not so IDL related... Command line auto-feed [message #61121] Tue, 08 July 2008 10:41 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
> Assuming the program uses standard input, you should be able to create a
> file, called input.txt (pick a name, any name) that looks
> like this.
>
> infile
> outfile
> x
>
> then run the program like this
>
> program < input.txt
>
> If you then wrap a loop around the whole thing, it should be a piece of
> cake.
>
>

Ahh, another great way! Thanks a lot!
As a matter of fact, it works even better than copying the list of
inputs (one of them disappear during the execution of the prog)!

Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: What Else!? More IDL 7 Woes.
Next Topic: Help with program speed (Recursive Merging Function)

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

Current Time: Wed Oct 08 15:53:37 PDT 2025

Total time taken to generate the page: 0.00427 seconds