delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/17/15:33:21

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <31b7d2790709171232u7cdfe875yc4cff4c55a81ac79@mail.gmail.com>
Date: Mon, 17 Sep 2007 14:32:47 -0500
From: "DePriest, Jason R." <jrdepriest AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: 1.5.24-2 question about using echo on remote node.
In-Reply-To: <837282.35331.qm@web8807.mail.in.yahoo.com>
MIME-Version: 1.0
References: <837282 DOT 35331 DOT qm AT web8807 DOT mail DOT in DOT yahoo DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 9/17/07, Prakash Babu <> wrote:
> Hello all,
>
> I am trying to run the following command using cygwin
> on a remote node using ssh.
>
> /bin/sh -c 'echo Number=\"1234567\"  >> /tmp/file1'
>
> The command executes successfully but the  file has
> content Number=1234567(double quotes missing) instead
> of Number="1234567".
>
> The same command works as expected when i run it from
> red hat Linux.
>
> Any idea on why this is happening.
>
> thanks,
> Prakash
>
>

No idea.

If I cut and paste your command directly from your email and into my
rxvt bash window, it runs properly (double-quotes are in the resulting
file).

Following the
> Problem reports:       http://cygwin.com/problems.html
might help narrow it down.

-Jason

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019