Multi-Line svn:ignore

The property svn:ignore may contain new-line separated patterns which describe filenames to ignore for repository actions. Specifying a single pattern is rather straight forward.

svn propset [-R] svn:ignore '*.o' .

So far the only known reliable method to create a new-line separated list on a bash command-line is:

svn propset [-R] svn:ignore "$(echo '*.o'; echo '*.a')" .

Feedback is always welcome! If you'd like to get in touch with me concerning the contents of this article, please use Twitter.