summaryrefslogtreecommitdiffstats
path: root/doc/split.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-11-01 23:36:46 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-11-01 23:36:46 (GMT)
commitc7d4f0143c9004a2ad087ba1faf97eaec526c3e2 (patch)
treeb14613647bccdf8360da6c3a755b0ab6d29b5279 /doc/split.n
parent8700b04b46fb89254c0ce1489142dd0a7bf68702 (diff)
downloadtcl-c7d4f0143c9004a2ad087ba1faf97eaec526c3e2.zip
tcl-c7d4f0143c9004a2ad087ba1faf97eaec526c3e2.tar.gz
tcl-c7d4f0143c9004a2ad087ba1faf97eaec526c3e2.tar.bz2
Minor documentation improvements
Diffstat (limited to 'doc/split.n')
-rw-r--r--doc/split.n10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/split.n b/doc/split.n
index d3970d1..c13a94e 100644
--- a/doc/split.n
+++ b/doc/split.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: split.n,v 1.8 2007/10/28 14:17:40 dkf Exp $
+'\" RCS: @(#) $Id: split.n,v 1.9 2007/11/01 23:36:46 dkf Exp $
'\"
.so man.macros
.TH split n "" Tcl "Tcl Built-In Commands"
@@ -34,7 +34,7 @@ If \fIsplitChars\fR is an empty string then each character of
Divide up a USENET group name into its hierarchical components:
.CS
\fBsplit\fR "comp.lang.tcl.announce" .
- \fI=> comp lang tcl announce\fR
+ \fI\(-> comp lang tcl announce\fR
.CE
.PP
See how the \fBsplit\fR command splits on \fIevery\fR character in
@@ -42,19 +42,19 @@ See how the \fBsplit\fR command splits on \fIevery\fR character in
careful:
.CS
\fBsplit\fR "alpha beta gamma" "temp"
- \fI=> al {ha b} {} {a ga} {} a\fR
+ \fI\(-> al {ha b} {} {a ga} {} a\fR
.CE
.PP
Extract the list words from a string that is not a well-formed list:
.CS
\fBsplit\fR "Example with {unbalanced brace character"
- \fI=> Example with \e{unbalanced brace character\fR
+ \fI\(-> Example with \e{unbalanced brace character\fR
.CE
.PP
Split a string into its constituent characters
.CS
\fBsplit\fR "Hello world" {}
- \fI=> H e l l o { } w o r l d\fR
+ \fI\(-> H e l l o { } w o r l d\fR
.CE
.SS "PARSING RECORD-ORIENTED FILES"
Parse a Unix /etc/passwd file, which consists of one entry per line,