Skip to main content

Syntax of the ASCII File

To get things moving, therefore, we propose to do the following things:

  1. We shall write a program to generate the ASCII file in the syntax described in RFC# 606, namely:
<host-name-file> ::= <entry> / <host-name-file> <entry>

<entry> ::= <data-part> <end-of-line>

Note that this produces a blank line after the <data-part>.

<data-part> ::= <basic-part> / <data-part> <attribute-item>

<basic-part> ::= <host-name> , <host-address> <end-of-line>

<attribute-item> ::= <attribute-name> = <attribute-value> <end-
of-line>