The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: ggm@algebras.org (George Michaelson)
Subject: [TUHS] EOF on pipes?
Date: Sun, 25 Feb 2018 13:16:58 +0000	[thread overview]
Message-ID: <CAKr6gn2se8TBgwxYyH7U7qWKMqAfUiZo0HXx7F0PGfFYGYo0uA@mail.gmail.com> (raw)
In-Reply-To: <201802251307.w1PD7AVI013492@coolidge.cs.Dartmouth.EDU>

I often wondered about the circumstance which led to | because it felt
like the oddest pipe in the world to me. Its zero pipe units long, its
just an entry and an exit, bolted together. I thought = would have
been much better. I guess there was a good reason that wouldn't fly.

But then I learned there was some clumsy pre-ur-pipe notations which
bolted what > and < do together somehow. I guess if you were there, it
made perfect sense. Confusing as well that | and || both have to
co-exist in the shell, one for IO redirection and process chaining,
and one for expression short circuit operation. So, clearly a lexer is
in the mix, which means maybe == could have worked. Thats a pipe!

I also had long beer filled arguments about how if | was a process,
not just IO bolting, it could be instrumented. Somebody said I should
do that in tee and I did play with that a bit, putting a box on tee to
say what flowed through the pipe. So, maybe the pipe symbol | could
have been modified to be T and then you had a side flow to monitor on.

Designing things is hard. I guess the reality is, you do the bare
minimum neccessary to make it work. Anything else is adding cost.

(I hesitate to say <- and -> might have worked too. few pipes are
bi-directional. Also, the = is being used in ls -lF to denote what
things are non-normal files...)

G

On Sun, Feb 25, 2018 at 1:07 PM, Doug McIlroy <doug at cs.dartmouth.edu> wrote:
>>> pipe, ch(e)root.... Any more unix connections to smoking?
>
> I have a slide that's a quadralingual pun (French, English, Art, shell)
> in which Magritte's painting of a pipe with the words "Ceci n'est pas
> une pipe" has been altered to read "Ceci n'est pas une |". The
> altered phrase was borrowed from Jay Misra et al, who used it as
> an example of a message in a paper on communicating processes.
>


  reply	other threads:[~2018-02-25 13:16 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-25 13:07 Doug McIlroy
2018-02-25 13:16 ` George Michaelson [this message]
2018-02-25 13:56   ` arnold
  -- strict thread matches above, loose matches on Subject: below --
2018-02-27  5:04 Rudi Blom
2018-02-27  5:48 ` Dave Horsfall
2018-02-25  0:53 Norman Wilson
2018-02-25 16:29 ` Paul Winalski
2018-02-25 22:25 ` Lyndon Nerenberg
2018-02-25 23:18   ` Bakul Shah
2018-02-26  2:39   ` Grant Taylor
2018-02-24 21:33 Dave Horsfall
2018-02-24 23:13 ` Ron Natalie
2018-02-24 23:42   ` Bakul Shah
2018-02-24 23:46     ` Nelson H. F. Beebe
2018-02-24 23:46     ` Jon Steinhart
2018-02-26 16:03 ` Rudi Blom
2018-02-26 16:58   ` Ian Zimmerman
2018-02-26 17:19     ` Larry McVoy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKr6gn2se8TBgwxYyH7U7qWKMqAfUiZo0HXx7F0PGfFYGYo0uA@mail.gmail.com \
    --to=ggm@algebras.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).