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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,48bd881c3a7e95e1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-01 04:31:51 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!intgwpad.nntp.telstra.net!nsw.nnrp.telstra.net!dnews.tpgi.com.au!tpg.com.au Message-ID: <3B3F09EC.E22A383D@tpg.com.au> From: Frank Ranner X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.14-5.0smp i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Dual_IO References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Original-NNTP-Posting-Host: 203.29.145.13 X-Original-Trace: 1 Jul 2001 21:51:13 +1000, 203.29.145.13 Date: Sun, 01 Jul 2001 21:30:52 +1000 NNTP-Posting-Host: 203.12.160.33 X-Complaints-To: abuse@telstra.net X-Trace: nsw.nnrp.telstra.net 993987102 203.12.160.33 (Sun, 01 Jul 2001 21:31:42 EST) NNTP-Posting-Date: Sun, 01 Jul 2001 21:31:42 EST Organization: Customer of Telstra Big Pond Direct Xref: archiver1.google.com comp.lang.ada:9289 Date: 2001-07-01T21:30:52+10:00 List-Id: Gautier Write-only-address wrote: > > Hi! Does anyone have in his/her toolbox a kind of Text_IO that > sends everything to Standard_output and a log file ? It's simple > but if I can avoid to do it myself... > TIA > __________________________________________ Option 1 myadaprogram | tee log.file Option 2 script log.file myadaprogram exit If you are using that Windows thing then you can only use option 1. You can find the gnu tee program on simtel in the shell utils package. Regards, Frank Ranner