On Tue, Feb 28, 2012 at 05:36:47PM +0100, Roman Rakus wrote: > And that means, there isn't way to substitute "something" to ' (single > quote) when you want to not perform word splitting. I would consider it > as a bug.
imadev:~$ q=\'
imadev:~$ input="foosomethingbar"
imadev:~$ echo "${input//something/$q}"
foo'bar
