From 6581c16e860b1a3ec39b6363acb0db74263f201a Mon Sep 17 00:00:00 2001 From: hobbs Date: Wed, 5 Oct 2005 03:58:34 +0000 Subject: scan %[] requires "one or more chars" [Bug 1277503] --- ChangeLog | 2 ++ doc/scan.n | 8 +++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6eb81f4..1ea1a72 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2005-10-04 Jeff Hobbs + * doc/scan.n: scan %[] requires "one or more chars" [Bug 1277503] + * tests/winFile.test (getuser): allow valid Windows usernames. [Bug 1311285] diff --git a/doc/scan.n b/doc/scan.n index 59a9662..af74a82 100644 --- a/doc/scan.n +++ b/doc/scan.n @@ -6,7 +6,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: scan.n,v 1.14 2005/05/10 18:34:03 kennykb Exp $ +'\" RCS: @(#) $Id: scan.n,v 1.15 2005/10/05 03:58:35 hobbs Exp $ '\" .so man.macros .TH scan n 8.4 Tcl "Tcl Built-In Commands" @@ -136,8 +136,7 @@ decimal digits. It is read in and stored in the variable as a floating-point string. .TP 10 \fB[\fIchars\fB]\fR -The input field consists of any number of characters in -\fIchars\fR. +The input field consists of one or more characters in \fIchars\fR. The matching string is stored in the variable. If the first character between the brackets is a \fB]\fR then it is treated as part of \fIchars\fR rather than the closing @@ -149,8 +148,7 @@ If the first or last character between the brackets is a \fB\-\fR, then it is treated as part of \fIchars\fR rather than indicating a range. .TP 10 \fB[^\fIchars\fB]\fR -The input field consists of any number of characters not in -\fIchars\fR. +The input field consists of one or more characters not in \fIchars\fR. The matching string is stored in the variable. If the character immediately following the \fB^\fR is a \fB]\fR then it is treated as part of the set rather than the closing bracket for -- cgit v0.12