[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[gopher] Re: How to handle lines beginning by a dot?



> Another question - How should I handle text files which contain a line with
> only a dot (".")?

That is a fascinating question. There is no <crlf> after it, so I would say
print it as is, a one-byte binary file if you like.

This was one of the decisions I didn't like that was made in the protocol,
but there we are. OTOH, it does make things like limited pipelining possible.

-- 
------------------------------------ personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckaiser@floodgap.com
-- Never trust a computer you can't lift. -- Mac rollout, 24 January 1984 -----



Reply to: