メインコンテンツまでスキップ

ASCII ファイルの構文

そこで、事を進めるために、NIC は次のことを行うことを提案する。

  1. RFC# 606 に記述された構文、すなわち次の構文で ASCII ファイルを生成するプログラムを作成する。
<host-name-file> ::= <entry> / <host-name-file> <entry>

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

これにより <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>