From d3af9b6c8c71010caf7b39bc82653ab9db34d055 Mon Sep 17 00:00:00 2001 From: dkf Date: Fri, 26 Oct 2007 12:25:06 +0000 Subject: Fix minor faults. --- doc/encoding.n | 6 +++--- doc/re_syntax.n | 8 ++++---- doc/subst.n | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/encoding.n b/doc/encoding.n index 4524959..376780c 100644 --- a/doc/encoding.n +++ b/doc/encoding.n @@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: encoding.n,v 1.10 2007/10/25 14:07:32 dkf Exp $ +'\" RCS: @(#) $Id: encoding.n,v 1.11 2007/10/26 12:25:06 dkf Exp $ '\" .so man.macros .TH encoding n "8.1" Tcl "Tcl Built-In Commands" @@ -82,10 +82,10 @@ of the original string. The \fBencoding\fR command can be used to convert this string to the expected Japanese Unicode characters. For example, .CS -set s [\fBencoding convertfrom\fR euc-jp "\\xA4\\xCF"] +set s [\fBencoding convertfrom\fR euc-jp "\exA4\exCF"] .CE would return the Unicode string -.QW "\\u306F" , +.QW "\eu306F" , which is the Hiragana letter HA. .SH "SEE ALSO" fconfigure(n), Tcl_GetEncoding(3) diff --git a/doc/re_syntax.n b/doc/re_syntax.n index 3ceeb53..47873c5 100644 --- a/doc/re_syntax.n +++ b/doc/re_syntax.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: re_syntax.n,v 1.11 2007/10/24 14:29:39 dkf Exp $ +'\" RCS: @(#) $Id: re_syntax.n,v 1.12 2007/10/26 12:25:06 dkf Exp $ '\" .so man.macros .TH re_syntax n "8.1" Tcl "Tcl Built-In Commands" @@ -247,12 +247,12 @@ and For example, if .QW \fBo\fR and -.QW \fB\o'o^'\fR +.QW \fB\N'244'\fR are the members of an equivalence class, then .QW \fB[[=o=]]\fR , -.QW \fB[[=\o'o^'=]]\fR , +.QW \fB[[=\N'244'=]]\fR , and -.QW \fB[o\o'o^']\fR \& +.QW \fB[o\N'244']\fR \& are all synonymous. An equivalence class may not be an endpoint of a range. (\fINote:\fR Tcl currently implements only the Unicode locale. It doesn't define any equivalence classes. diff --git a/doc/subst.n b/doc/subst.n index b28cc18..676beeb 100644 --- a/doc/subst.n +++ b/doc/subst.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: subst.n,v 1.10 2007/10/24 14:29:39 dkf Exp $ +'\" RCS: @(#) $Id: subst.n,v 1.11 2007/10/26 12:25:06 dkf Exp $ '\" .so man.macros .TH subst n 7.4 Tcl "Tcl Built-In Commands" @@ -75,13 +75,13 @@ not .QW "\fBxyz {$a}\fR" and the script .CS -set a "p\\} q \\{r" +set a "p\e} q \e{r" \fBsubst\fR {xyz {$a}} .CE return .QW "\fBxyz {p} q {r}\fR" , not -.QW "\fBxyz {p\\} q \\{r}\fR" . +.QW "\fBxyz {p\e} q \e{r}\fR" . .PP When command substitution is performed, it includes any variable substitution necessary to evaluate the script. -- cgit v0.12