From aaf3d7c459bc6392a36f568d6996785a9870b9d8 Mon Sep 17 00:00:00 2001 From: sobomax Date: Wed, 11 Dec 2002 01:19:56 +0000 Subject: - Allow comments to be placed at the end of configuration line. Sponsored by: Porta Software Ltd Approved by: re MFC after: 2 weeks --- usr.sbin/newsyslog/newsyslog.8 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'usr.sbin/newsyslog/newsyslog.8') diff --git a/usr.sbin/newsyslog/newsyslog.8 b/usr.sbin/newsyslog/newsyslog.8 index f55986b..03f540b 100644 --- a/usr.sbin/newsyslog/newsyslog.8 +++ b/usr.sbin/newsyslog/newsyslog.8 @@ -79,7 +79,11 @@ that should be handled by .Nm . Each line has five mandatory fields and four optional fields, with whitespace separating each field. Blank lines or lines beginning with -``#'' are ignored. The fields of the configuration file are as +``#'' are ignored. If ``#'' is placed in the middle of the line, +``#'' character and the rest of the line after it is ignored. +To prevent special meaning, the ``#'' may be escaped with ``\\'', +in this case preceding ``\\'' is removed and ``#'' treated as ordinary +character. The fields of the configuration file are as follows: .Pp .Bl -tag -width indent @@ -297,7 +301,7 @@ to archive all filenames matching this pattern using the same options. See .Xr glob 3 -for details on matching rules. +for details on syntax and matching rules. .It Ar path_to_pid_file This optional field specifies the file name to read to find the daemon process id. If this -- cgit v1.1