Since cwm(1) uses the same parser as others in src, document how

comments and line extensions work.  Taken from sthen@'s recent
commit in src.

ok sthen@
This commit is contained in:
okan 2011-06-25 13:12:56 +00:00
parent ea69802e6f
commit 5f2753dc80

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: cwmrc.5,v 1.37 2011/06/24 06:09:26 okan Exp $
.\" $OpenBSD: cwmrc.5,v 1.38 2011/06/25 13:12:56 okan Exp $
.\"
.\" Copyright (c) 2004,2005 Marius Aamodt Eriksen <marius@monkey.org>
.\"
@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd $Mdocdate: June 24 2011 $
.Dd $Mdocdate: June 25 2011 $
.Dt CWMRC 5
.Os
.Sh NAME
@ -24,7 +24,19 @@
This manual page describes the
.Xr cwm 1
configuration file.
The following options are accepted in the configuration file:
.Pp
The current line can be extended over multiple lines using a backslash
.Pq Sq \e .
Comments can be put anywhere in the file using a hash mark
.Pq Sq # ,
and extend to the end of the current line.
Care should be taken when commenting out multi-line text:
the comment is effective until the end of the entire block.
.Pp
Arguments containing whitespace should be surrounded by double quotes
.Pq \&" .
.Pp
The following options are accepted:
.Pp
.Bl -tag -width Ds -compact
.It Ic autogroup Ar group windowname