For a little test script I'm writing I needed to split a line on a ';' but preservere the "s and 's, something that echo doesn't like to do. Digging deeper into the bash docs I see that there are some handy string handling functions.
line='this "is" a command;this "is" a pattern'
And the output would be:
this "is" a command
this "is" a pattern