comp.lang.ada
 help / color / mirror / Atom feed
From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen)
Subject: Re: Dual_IO
Date: 1 Jul 2001 09:30:53 -0500
Date: 2001-07-01T09:30:53-05:00	[thread overview]
Message-ID: <4cxw+O6F7yaj@eisner.encompasserve.org> (raw)
In-Reply-To: 3B3F09EC.E22A383D@tpg.com.au

In article <3B3F09EC.E22A383D@tpg.com.au>, Frank Ranner <franner@tpg.com.au> 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.



  reply	other threads:[~2001-07-01 14:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-30 21:33 Dual_IO Gautier Write-only-address
2001-07-01 11:30 ` Dual_IO Frank Ranner
2001-07-01 14:30   ` Larry Kilgallen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-07-01 18:32 Dual_IO Gautier Write-only-address
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox