in reply to perl, ssh and grep

Welcome to the monastery.

Unfortunately there is not much Perl in this question...

Please try some basic debugging and print the content of your command and try if it works without Perl.

I think you're messing up the shell / grep call.

> Probably exists some perl module that would help me, but I can't use them. Sure I can't.

So you want a non Perl solution?

Not sure if you should ask here then.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!