From 5efa5057eb21ff95198872a1134e296d381f6e76 Mon Sep 17 00:00:00 2001 From: okan Date: Sat, 25 Jun 2011 13:12:56 +0000 Subject: 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@ --- cwmrc.5 | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/cwmrc.5 b/cwmrc.5 index 24f3e52..f9dd9f5 100644 --- a/cwmrc.5 +++ b/cwmrc.5 @@ -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 .\" @@ -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 -- cgit v1.2.3-2-gb3c3