Use the -cfile
option of the cleartool checkin
command.
That means:
Your script should:
- write your comment in a file
- use that file in the
-cfile
option.
(Make sure of your ClearCase version: there was a bug with that option, fixed only in 7.0.0.4+, 7.1.0.3+ and 7.1)