Thomas Keller <[EMAIL PROTECTED]> writes: > Well, the EOF token wouldn't really have to be '\0', just something a > parser could distinguish from the normal output flow. F.e. in emails > the header is separated from the body by double newlines \n\n. If > basic_io would become standard for all output of the automation > interface there could even be some well-defined end token there, like > > ... > > command_finished "1234..." > > where the 1234... part could be the checksum for the complete output > echoed before that token.
It's surely simpler just to say how many bytes the thing has, then readers know to read that many bytes? (Otherwise you'll have people worrying about the case where the content somehow manages to contain its own checksum.) _______________________________________________ Monotone-devel mailing list Monotone-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/monotone-devel