RT comment via command-line


I have just installed RT3 on my Fedora system and started exploring various features it provides. It’s really a great system to use for tracking tickets, etc.

Now, I am stuck at one of the command-line features:

rt comment 6977 -m “Hi \n This is updated \n Thanks \n Ankit”

This command succeeds but unfortunately it doesn’t understand the '\n’s included in the message and put it as a single line message in the RT system.

is there a way to format these messages from command line itself.