Originally posted by Matthew Laskin
I'm reading in an HRL that is listing portions of nursing documentation across lines. Everything is working fine until documentation includes a quotation that gets broken across VRL lines. The tcl preproc will not make it past the msgget $mh line. It works for me fine if I write a tcl script to open a file and read in the txt contents. An example of what is causing an issue:
02|V01|M01|07/25/14 0958|CAT1|DEPT|9|"The quick brown fox runs over the fence," She said. "This line is probably okay but the next"|"Matt"
02|V01|M01|07/25/14 0958|CAT1|DEPT|10|"line causes an issue". The previous quotation is hanging"|"Matt"
The quotation mark after "issue" is the culprit. I tried something like
set msg [string map {""" ""} [msgget $mh]]
to just strip away all quotations, but that doesn't work. Any ideas?