Hi! On Mon, Jun 04, 2007 at 07:49:08PM +0200, Almir Karic wrote: >> >...-exec sh -c 'something with $1' {} \; is fully safe as well.
>>sh -c 'echo foo"$1"bar' baz >>-> foobar >>Seems not. >a typo, sorry, it should be sh -c 'echo foo$1bar' -- baz This works indeed. But better use the additional quotes around $1. Just get used to them, because $1 could contain IFS characters. >i am cheating tho, and have sh symlinked to bash. Why? Better don't do that. Kind regards, Hannah.