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." 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 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/