home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!nott!bnrgate!bcars267!bnr.ca!jamensky
- From: jamensky@bnr.ca (Mark Jamensky)
- Subject: Possible bug in lreplace
- Message-ID: <1993Jan7.205040.19153@bnr.ca>
- Sender: news@bnr.ca (usenet)
- Nntp-Posting-Host: bcarh27a
- Reply-To: jamensky@bnr.ca (Mark Jamensky)
- Organization: Bell-Northern Research Ltd.
- Date: Thu, 7 Jan 1993 20:50:40 GMT
- Lines: 17
-
- The problem is exhibited as follows in Tcl version 6.4:
-
- set l1 { a b "c c" d e f}
-
- lreplace $l1 2 2
- returns: a b d e f
-
- lreplace $l1 3 3
- returns: a b "c c e f
-
- For some reason the second quote gets removed. Has anyone else seen this and
- if so is there a patch?
-
- Thanks in advance.
-
- -- | Bell-Northern Research - Ottawa | Conform or be cast out.
- Mark Jamensky | jamensky@bnr.ca (613) 765-4942 | - Rush
-