diff options
author | dgp <dgp@users.sourceforge.net> | 2007-12-04 16:55:52 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2007-12-04 16:55:52 (GMT) |
commit | 003d1220e705f2bac33e44e0c1752bd43e1efd6d (patch) | |
tree | 033038430fcbb6f0cce3680b00f8b5a644b1420b /doc | |
parent | fdac2b39fea8099117e984579453fdf0d129ae07 (diff) | |
download | tcl-003d1220e705f2bac33e44e0c1752bd43e1efd6d.zip tcl-003d1220e705f2bac33e44e0c1752bd43e1efd6d.tar.gz tcl-003d1220e705f2bac33e44e0c1752bd43e1efd6d.tar.bz2 |
merge updates from HEAD
Diffstat (limited to 'doc')
-rw-r--r-- | doc/switch.n | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/switch.n b/doc/switch.n index 72c7b1e..7a6e5de 100644 --- a/doc/switch.n +++ b/doc/switch.n @@ -5,7 +5,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: switch.n,v 1.10.6.1 2007/11/01 16:25:55 dgp Exp $ +'\" RCS: @(#) $Id: switch.n,v 1.10.6.2 2007/12/04 16:55:53 dgp Exp $ '\" .so man.macros .TH switch n 8.5 Tcl "Tcl Built-In Commands" @@ -85,6 +85,10 @@ time as the \fB\-matchvar\fR option. \fB\-\|\-\fR Marks the end of options. The argument following this one will be treated as \fIstring\fR even if it starts with a \fB\-\fR. +.VS 8.5 +This is not required when the matching patterns and bodies are grouped +together in a single argument. +.VE 8.5 .PP Two syntaxes are provided for the \fIpattern\fR and \fIbody\fR arguments. The first uses a separate argument for each of the patterns and commands; @@ -138,7 +142,7 @@ Whenever nothing matches, the \fBdefault\fR clause (which must be last) is taken. This example has a result of \fI3\fR: .CS \fBswitch\fR xyz { - a \- + a \- b { # Correct Comment Placement expr {1} @@ -171,3 +175,6 @@ exactly matched is easily obtained using the \fB\-matchvar\fR option: for(n), if(n), regexp(n) .SH KEYWORDS switch, match, regular expression +.\" Local Variables: +.\" mode: nroff +.\" End: |