in reply to perl, ssh and grep

Yeah. The right way is to let perl doing the quoting...
Thanks to everyone