- This topic has 7 replies, 4 voices, and was last updated 15 years, 10 months ago by .
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’ mode always has a MSGID; fetch and process it
keylget args MSGID mh
set msg [msgget $mh]
# substitute all
regsub -all “r” $msg “rn” msg
msgset $mh $msg
lappend dispList “CONTINUE $mh”
Is there a better way to do this?
- The forum ‘Cloverleaf’ is closed to new topics and replies.