Complete.Org: Mailing Lists: Archives: gopher: January 2009:
[gopher] Re: How to handle lines beginning by a dot?
Home

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

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: gopher@xxxxxxxxxxxx
Subject: [gopher] Re: How to handle lines beginning by a dot?
From: Cameron Kaiser <spectre@xxxxxxxxxxxx>
Date: Wed, 28 Jan 2009 17:23:54 -0800 (PST)
Reply-to: gopher@xxxxxxxxxxxx

> 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@xxxxxxxxxxxx
-- Never trust a computer you can't lift. -- Mac rollout, 24 January 1984 -----



[Prev in Thread] Current Thread [Next in Thread]