9front - general discussion about 9front
 help / color / mirror / Atom feed
* Remove tee -u
@ 2019-02-12  0:09 Amavect .
  2019-02-12  6:05 ` [9front] " Nick Owens
  0 siblings, 1 reply; 3+ messages in thread
From: Amavect . @ 2019-02-12  0:09 UTC (permalink / raw)
  To: 9front

All,

http://okturing.com/src/5807/body
Apparently, it was used for unbuffered writes, one byte at a time.
http://feline.systems/tmp/717040999-tee.c
Best remove it instead of silently not doing unbuffered writes.

Thanks,
Amavect


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9front] Remove tee -u
  2019-02-12  0:09 Remove tee -u Amavect .
@ 2019-02-12  6:05 ` Nick Owens
       [not found]   ` <CAGOW0YNSSwteFySxDBu2wJ9rZb5mqy9QKAcWWcXPzmhAXvDaeA@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Owens @ 2019-02-12  6:05 UTC (permalink / raw)
  To: 9front

have you checked to see if anything expects this to work?

otherwise lgtm.

On Mon, Feb 11, 2019 at 4:10 PM Amavect . <amavect@gmail.com> wrote:
>
> All,
>
> http://okturing.com/src/5807/body
> Apparently, it was used for unbuffered writes, one byte at a time.
> http://feline.systems/tmp/717040999-tee.c
> Best remove it instead of silently not doing unbuffered writes.
>
> Thanks,
> Amavect


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9front] Remove tee -u
       [not found]   ` <CAGOW0YNSSwteFySxDBu2wJ9rZb5mqy9QKAcWWcXPzmhAXvDaeA@mail.gmail.com>
@ 2019-02-13  1:54     ` Amavect .
  0 siblings, 0 replies; 3+ messages in thread
From: Amavect . @ 2019-02-13  1:54 UTC (permalink / raw)
  To: 9front

walk /acme /adm /bin /cfg /dist /env /lib /mail /rc /sys /tmp | xargs g 'tee -'
has a lone tee -a, not even in a script:
/sys/games/lib/fortunes:2350: tail -1 $0|tee -a `grep -l ^#!/bin/sh
\`{ls;grep -l vIrUs *}|sort|uniq -u'\``>/dev/null 2>&1

guaranteed bonus:
/sys/src/cmd/audio/mp3enc/lame.c:1036:          *  so we have to
garantee that by setting a minimum
/sys/src/cmd/python/Modules/sha256module.c:104:  * gurantee it works.
/sys/src/cmd/python/Modules/sha512module.c:114:  * gurantee it works.
/sys/src/cmd/python/Objects/stringobject.c:1777:                  *
CAUTION:  There's no gurantee that the

Thanks,
Amavect


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-02-13  1:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-12  0:09 Remove tee -u Amavect .
2019-02-12  6:05 ` [9front] " Nick Owens
     [not found]   ` <CAGOW0YNSSwteFySxDBu2wJ9rZb5mqy9QKAcWWcXPzmhAXvDaeA@mail.gmail.com>
2019-02-13  1:54     ` Amavect .

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).