On Tue, 10 Sep 2002, Alan Wilter Sousa da Silva wrote:

> 
> Hi list,
> 
>       I have a programme did in fortran that works like that:
> 
> #>my_programme.exe < input
> 
> where within input there are some arguments.  I would like to avoid this
> 'input' giving to my program a command line arguments like a programme did
> in C.  So I found EOF but did not find a way to make it work in just one
> line.  I would like to use something like:
> 
> #>my_programme <<EOF my_arguments EOF
> 
> But this does not work! only works if I give enter after <<EOF, then
> my_arguments [Enter] and at last EOF.
> 
> Might someone give any idea about it?  I'd thank you very much.
> 
You can use GETARG to grab the command line parameters.  


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to