delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/17/05:18:36

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-YMail-OSG: v.QxicsVM1nDKCkiiUcyGUOo8urbmO.cEFu5MjsVp77zijWvJMA4ScS4EMuzmPTOzMhluBtj3GItnbI2rR53zp.4KawO4fGQec5rgCJlt96hFDZgpXnhDx6dgz1Gmg--
Date: Mon, 17 Sep 2007 10:18:07 +0100 (BST)
From: Prakash Babu <jprakashbabu31 AT yahoo DOT co DOT in>
Subject: 1.5.24-2 question about using echo on remote node.
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-ID: <837282.35331.qm@web8807.mail.in.yahoo.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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


      5, 50, 500, 5000 - Store N number of mails in your inbox. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html

--
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