From owner-freebsd-questions Wed May 8 9:21:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rhadamanth.submonkey.net (pc4-card4-0-cust162.cdf.cable.ntl.com [80.4.14.162]) by hub.freebsd.org (Postfix) with ESMTP id 3BEF237B401 for ; Wed, 8 May 2002 09:21:35 -0700 (PDT) Received: from setantae by rhadamanth.submonkey.net with local (Exim 3.36 #1) id 175UBx-0003Ft-00; Wed, 08 May 2002 17:21:25 +0100 Date: Wed, 8 May 2002 17:21:24 +0100 From: Ceri Davies To: "Medlen, Jiri" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: rsh issue Message-ID: <20020508162124.GA12235@submonkey.net> Mail-Followup-To: Ceri Davies , "Medlen, Jiri" , freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.99i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, May 08, 2002 at 09:19:43AM -0700, Medlen, Jiri wrote: > Hello, > > rsh from Solaris to freeBSD > > a) rsh generally works > rsh jmedlin-bsd -l jmedlen env > > b) > However complex command with rsh does not work from Solaris to freeBSD > > rsh jmedlin-bsd -l jmedlen > /home/jmedlen/Pro_version_3.05/verisign/payflowpro/linux/bin/pfpro > qa-test-payflow.verisign.com 443 > \"USER=v3link&VENDOR=v3link&PARTNER=QAPOWAR&PWD=megatron&TRXTYPE=S&TENDER=C& > ACCT=5105105105105100&EXPDATE=1209&AMT=27.23\" 30 > > I would get respond > VENDOR=v3link: Command not found > PARTNER=QAPOWAR: : Command not found You need to backslash the '&' characters, as they have special meaning to the shell. Ceri -- get the cool shoe shine To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message