From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,32141a0adc9d34f9 X-Google-Attributes: gid103376,public From: "David C. Hoos, Sr." Subject: Re: How to redirect std.-output to a textfile? Date: 1999/05/21 Message-ID: #1/1 X-Deja-AN: 480492297 Content-Transfer-Encoding: 7bit References: <37453F4F.53BA2EC8@minet.uni-jena.de> X-Priority: 3 Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-MSMail-Priority: Normal MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-05-21T00:00:00+00:00 List-Id: Andreas Hoffmann wrote in message news:37453F4F.53BA2EC8@minet.uni-jena.de... > Hello, > > How can i redirect the standard-output to a textfile. > I can't use put(myfile,something), because the output is done by a > Procedure in a > precompiled package. > > Pleas help me with some links our a little bit of code. > This is not an Ada question. If you can't do Ada.Text_IO.Put (Ada.text_IO.Standard_Output, Something), then you need to redirect within your command shell on the command line --g.g.,: program_name > file_name