Is there a way to use a heredoc as the message via the svn command?
I tried this:
$ echo <<TEXT | svn commit -m -
> line one input
> line two input
>TEXT
In my repository it just writes the dash as the message.
I tried searching around and didn't find a way of doing a multi-line input other than writing in the \n
characters, but it would be great if I could just regular multi-lined text that I've already typed up as the input.
Is it possible using a different method or is it just wishful thinking?
Thanks!