I have a problem with rsh:
when executing the rsh command with a task for example;
rsh someHost sleep 5
the exit status returned is the rsh exit status and not
the sleep command exit status.
I need some script that simulate the rsh operation
but returns the exit status of the command it self
I know some script named ersh that those exactly what I need exist but I can't find it's source any where.
It will be great to have this script code or a link on where to find it or some other script that matches my problem.