- This topic has 7 replies, 4 voices, and was last updated 16 years, 7 months ago by .
-
Topic
-
I’m trying to change carriage return (after segment) to carriage return-line feed. I have a script that partially works. It works fine for between segments. However, since the end of the message already has CR-LF, I am getting CR-CR-LF at the end of each message. run {
# ‘run’ mode always has a MSGID; fetch and process it
keylget args MSGID mh
set msg [msgget $mh]
# substitute all
with regsub -all “r” $msg “rn” msg
msgset $mh $msg
lappend dispList “CONTINUE $mh”
}
Is there a better way to do this?
Kathy
Viewing 6 reply threads
Viewing 6 reply threads
- The forum ‘Cloverleaf’ is closed to new topics and replies.