Re: rsh question

From: Ruiz Lastra, Pedro A. (I-Q) (pruiz@ENDESA.ES)
Date: Wed Oct 23 2002 - 07:28:10 EDT


Try this:

echo command_to_run "param1" "param2" | sh

I mean

echo rsh machine command_to_run "param1" "param2" | sh

-----Mensaje original-----
De: Barry Deevey [mailto:Barry.Deevey@SEFAS.CO.UK]
Enviado el: miércoles 23 de octubre de 2002 13:17
Para: aix-l@Princeton.EDU
Asunto: rsh question

Hi all,

I'm trying to run a rsh command, and I need to pass 2 parameters in double
quotes on the remote machine, i.e. I require the remote command to be

# command_to_run "param1" "param2"

But I cannot seem to be able to pass the double quotes over to the remote
machine.

Many thanks for any replies they are much appreciated.

Best Regards

Barry

Este mensaje de correo electrónico y sus documentos adjuntos están dirigidos
EXCLUSIVAMENTE a los destinatarios especificados. La información contenida
puede ser CONFIDENCIAL y/o estar LEGALMENTE PROTEGIDA y no necesariamente
refleja la opinión de ENDESA. Si usted recibe este mensaje por ERROR, por
favor comuníqueselo inmediatamente al remitente y ELIMÍNELO ya que usted
NO ESTA AUTORIZADO al uso, revelación, distribución, impresión o copia de
toda o alguna parte de la información contenida. Gracias.

This e-mail message and any attached files are intended SOLELY for the
addressee/s identified herein. It may contain CONFIDENTIAL and/or LEGALLY
PRIVILEGED information and may not necessarily represent the opinion of
ENDESA. If you receive this message in ERROR, please immediately notify the
sender and DELETE it since you ARE NOT AUTHORIZED to use, disclose,
distribute, print or copy all or part of the contained information. Thank
you.



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:16 EDT