in reply to slighly newbish question
You
Would local $/ = ':'; simplify your program? I don't think your problem is with splice. Look for differences from what you expect in the script-written messages.txt.
You ought to see about doing this with messages.txt opened '+<' and flocked.
After Compline,
Zaxo
|
|---|