井号 (#) 是注释字符。format 实用程序不会解释一行中在井号后面的任何文本。
format.dat 文件中的每个定义都出现在单独的逻辑行中。如果定义长度超过一行,则定义的所在行(最后一行除外)都必须以反斜杠 (\) 结束。
定义包含一系列赋值,这些赋值的左侧是标识符,右侧是一个或多个值。赋值运算符是等号 (=)。定义中的多个赋值必须以冒号 (:) 分隔。
format 实用程序会忽略空格。如果要所赋的值包含空格,请将整个值用双引号 (") 引起来。此语法将导致引号中的空格作为赋值的一部分保留下来。
有些赋值的右侧可能有多个值。请使用逗号分隔这些值。