Different implementations behave differently. Behaviour also differs
depending on whether stdout is attached to a tty device.
/glen
> -----Original Message-----
> From: Jason Zions [mailto:yyyyyyyy@xxxxxxxxxxxxxxxxxxx]
> Sent: August 10, 2004 3:51 PM
> To: Chris F.A. Johnson
> Cc: Don Cragun; yyyyyy@xxxxxxxxxxx; yyyyyyyyyyyyyy@xxxxxxxxxxxxx
> Subject: RE: Defect in XCU sort
>
> Now that's an interesting example.
>
> cat foo | tee -
>
> Do you see two copies of foo in sequence on stdout, or do you
> see it interleaved line by line? Or read-block by read-block?
> Since tee doesn't buffer its output, I'd expect either of the
> last two possibilities.
>
> (My implementation in SFU 3.5 creates a file called "-".
> Pretty clearly non-conforming as the standard is currently written.)
>
> -----Original Message-----
> From: yyyyy@xxxxxxxxxxxxxxxx [mailto:yyyyy@xxxxxxxxxxxxxxxx]
> On Behalf Of Chris F.A. Johnson
> Sent: Tuesday, August 10, 2004 12:43 PM
> To: Jason Zions
> Cc: Don Cragun; yyyyyy@xxxxxxxxxxx; yyyyyyyyyyyyyy@xxxxxxxxxxxxx
> Subject: RE: Defect in XCU sort
>
> On Tue, 10 Aug 2004, Jason Zions wrote:
>
> > Don is precisely correct here.
> >
> > Curiously enough, I don't know of a utility which uses operands to
> > identify files for output which also allows multiple output files.
>
> tee
>
>
> --
> Chris F.A. Johnson
> http://cfaj.freeshell.org
>
> =================================================================
> Everything in moderation -- including moderation
>
>
>
>
This message may contain privileged and/or confidential information. If
you have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any attachments,
delete it immediately from your system and notify the sender promptly by e-mail
that you have done so. Thank you.
|