tobold.org

correct • elegant • free

△ comp.unix.shell △

◅ Annoy CSH behavior - deleting words in the command line

Question on awk ▻

How to record stdin into a file

In article <3779CF6C.D917026A@sonycom.com>,
Marc De Boeck  <marc@sonycom.com> wrote:
>-) the command is not intuitive (understandable) enough
>    for being used by everybody in the group.

Oh dear.  It's a very simple command if you understand the concept of
Unix pipes.  Even if they don't is it really going to take more than,
say, 10 minutes to explain it?

>-) you have to terminate explicitly the "tee" command
>    (e.g. with a ^C command).

No, `tee' will exit at end of file.  Unless your program is doing
something unusual, you shouldn't notice much difference.  (The only
thing I can think that might cause a problem is line versus block
buffering.)

One possible alternative is `script', but that records output as well as
input.

Tim.
--
Tim Goodwin   | "You don't need to do drugs in order to
University of | think that the government's policies are
Leicester, UK | stupid and dangerous." -- David Bancroft

Original headers:

From: tjg@ltpcg.star.le.ac.uk (Tim J Goodwin)
Newsgroups: comp.unix.shell
Subject: Re: How to record stdin into a file
Date: 30 Jun 1999 10:59:08 +0100
Organization: University of Leicester, UK
Message-ID: <7lcppc$1l7$1@ltpcg.star.le.ac.uk>
References: <3779CF6C.D917026A@sonycom.com>

△ comp.unix.shell △

◅ Annoy CSH behavior - deleting words in the command line

Question on awk ▻