• Re: Binary Pipelines (was Re: iso646.h)

    From Lawrence D'Oliveiro@21:1/5 to Malcolm McLean on Sun Jan 28 20:48:57 2024
    On Sun, 28 Jan 2024 19:49:19 +0000, Malcolm McLean wrote:

    I've never used standard output for binary data. It might be necessary
    for webservers that serve images. But it strikes me as a poor design decision.

    Very common in the *nix world. E.g. producing a nicely-typeset view of a
    man page:

    gunzip -c /usr/share/man/man7/string_copying.7.gz |
    groff -kman -Tpdf |
    okular - &

    That second stage in the pipeline produces PDF output, which the viewer
    can display directly, without having to write it to a file.

    I mean, how else would you do it?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)