In message <20131024183255.3c233104@sage>, you wrote: >On Thu, 24 Oct 2013 14:55:51 -0700 >"John W. Krahn" <jwkr...@shaw.ca> wrote: > >> stdin (and stdout) are part of a stream protocol and as such are not >> about files and do not signal End-Of-File which is part of why emails >> use the single period to signal the end of the message. > >I thought that was from the old mail(1) program. To indicate to it that >you were done typing your message and it could send it, you typed a >single period on a line. And all streams have end of file.
Yes. And in my setup, at least, EOF can be signaled from the keyboard with the (traditional?) ^D. Obviously, that could be used, e.g. in cases where somebody wants to interactively type a mail message into some mail client that lacks a front-end editor of any kind. I don't see any need for this in-band period/newline protocol within such contexts. (And as I have now learned, it can cause unnecessary and not entirely pleasant surprises.) Regards, rfg -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/