configfile.5

来自「minix操作系统最新版本(3.1.1)的源代码」· 5 代码 · 共 84 行

5
84
字号
.TH CONFIGFILE 5.SH NAMEconfigfile \- generic configuration file format.SH SYNOPSIS.B */etc/*.conf.SH DESCRIPTION.de SP.if t .sp 0.4.if n .sp..The syntax of the generic configuration file format is as follows:.PP.RS.nf.ta +16nconfigfile:	empty.ta +8n +8n	|	configline configfile	;.ta +16nconfigline:	wordlist '\fB;\fR'.ta +8n +8n	|	\fBinclude\fR string '\fB;\fR'	;.ta +16nwordlist:	empty.ta +8n +8n	|	word wordlist	|	string wordlist	|	'\fB{\fR' configfile '\fB}\fR' wordlist	;empty:	;.fi.RE.PPA word is a sequence of letters, numbers, and characters from the set.BR "!#$%&*+-./<=>?[\e]^_|~" .A backslash.RB ( \e )may be followed by a character in the set.B abefnrstvto form a BEL, BS, ESC, FF, NL, CR, SP, TAB, or VT character.  Followed byup to three octal digits a character of that value is formed, and likewisefor an.B xfollowed by up to two hexadecimal digits.  Any other character is leftas-is.  A backslash followed by whitespace is completely removed from theinput.  (This includes comments.).PPA string is started by a single or double quote, a series of characters, andended by the same type of quote it started with.  Any character orescape with.B \emay be found in a string.  Strings may not span lines..PPTokens are separated by whitespace, being the usual whitespace charactersand comments.  A comment starts with the.B #character, and ends at a newline..PPThe special word.B includetells that the file mentioned in the following string must be read andincluded at that point.  The file is found relative to the directory thecurrent configuration file is found in, unless its name starts with a.BR / .A file that doesn't exist is seen as empty..PPA generic configuration file can be read with the functions described in.BR configfile (3)..SH EXAMPLESHave a look at.BR /etc/dhcp.conf ..SH "SEE ALSO".BR configfile (3)..SH NOTESInspired by the configuration file of Paul Vixie's.BR bind ..SH AUTHORKees J. Bot (kjb@cs.vu.nl)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?