samwise samwise@bagshot-row.org wrote:
I want to call an external binary with a parameter made of filenames which may contain spaces.
I don't think bash handles this well at all because it reparses strings sometimes but not others. Either you do it a different way (as your later comment suggests you're doing, using arrays) or you change shell - this exact problem is part of the reason I use /bin/rc when possible.
Sorry,