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 06:30:58 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!sjc-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!kilgallen From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: Dual_IO Message-ID: <4cxw+O6F7yaj@eisner.encompasserve.org> References: <3B3F09EC.E22A383D@tpg.com.au> Organization: LJK Software Date: 1 Jul 2001 09:30:53 -0500 NNTP-Posting-Host: 216.44.122.34 X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 993994255 216.44.122.34 (Sun, 01 Jul 2001 13:30:55 GMT) NNTP-Posting-Date: Sun, 01 Jul 2001 13:30:55 GMT Xref: archiver1.google.com comp.lang.ada:9293 Date: 2001-07-01T09:30:53-05:00 List-Id: In article <3B3F09EC.E22A383D@tpg.com.au>, Frank Ranner writes: > 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. That covers Unix (I presume) and Windows, but absent indication to the contrary, I would expect the poster was looking for a portable solution, working in all Ada95 environments.