1. 7

    An alternative to the pseudo-tty-pipe program would be stdbuf -oL, it uses LD_PRELOAD instead of creating a new pty and then calls setvbuf to change the buffering mode of standard streams. Not a very elegant way, but it works.

    1. 1

      Perhaps the maintainers of GNU utilities should follow the security vulnerabilities fixed by the BSDs, and treat those as if they are security vulnerabilities in the GNU implementation too unless proven otherwise.

      1. 1

        The argument seems vaguely interesting but it is basically a popularization of an academic article that is linked-to but turns out to be behind a paywall, which makes the whole exercise rather useless.