[comp.sources.d] Poll on shar format

jl42+@andrew.cmu.edu (Jay Mathew Libove) (06/05/88)

>I wrote..
>>The shar stuff I just released only puts out the leading 'X' when
>>the first character is a non-alphabetic.
>
>Folks, folks, folks... even if I haven't learned how to write, assume
>that all the moderating I've done has taught me how to code... :-)
>
>The rule really is:
>	if char == X		/* protect the protector */
>	|| char == F		/* avoid mail From to >From */
>	|| char == E		/* protect nested END_OF_FILE's */
>	|| !alphanumeric	/* pessimist, protect . whitespace etc */
>		putchar(X)
>
>Okay?
No doubt that you are an excellent coder, truly, but no one knows
everything... what about that first case where you forgot about something
and a, oh, say, 1.5 megabyte distribution comes through the net and
unshars *WRONG* ?

Please stick with an ultimately simple system - I read a book called
"Systemantics" whose major tenet was that the bigger and more complicated
a system gets, the closer its chance of failure gets to 100%.

Jay Libove
Arpa:   Jay.Libove@andrew.cmu.edu	Bitnet: Jay.Libove@drycas.bitnet
UUCP:   ...!{uunet, ucbvax, harvard}!andrew.cmu.edu!Jay.Libove
UUCP:   ...!{pitt | bellcore} !darth!libove!libove