home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / tcl / 1790 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  863 b 

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!usenet.coe.montana.edu!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uwm.edu!cs.utexas.edu!ut-emx!tivoli!shasta!bjv
  2. From: bjv@shasta.tivoli.com (Brian Vetter)
  3. Newsgroups: comp.lang.tcl
  4. Subject: Re: lvarpop bug
  5. Message-ID: <5939@tivoli.UUCP>
  6. Date: 10 Nov 92 23:54:23 GMT
  7. References: <1992Nov3.162737.27869@bnr.ca> <BxAutM.Bon@NeoSoft.com>
  8. Sender: news@tivoli.UUCP
  9. Organization: TIVOLI Systems
  10. Lines: 18
  11.  
  12. |> In article <1992Nov3.162737.27869@bnr.ca> colton@bnr.ca (Kevin Colton) writes:
  13. >I think the following is a bug with lvarpop:
  14. >  set x "a \"b\" c"
  15. >  lvarpop x
  16. >  a
  17. >  echo $x
  18. >  b c
  19. >  lvarpop x
  20. >  b
  21. >The literal quotes are stripped off ...
  22.  
  23. I suspect that what you want back is "b" and not b
  24. So try the following:
  25.  
  26. set x {a \"b\" c}
  27.  
  28. Brian Vetter
  29. bjv@tivoli.com
  30.