1.5.24-2 question about using echo on remote node.

2007-09-17 Thread Prakash Babu
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/



Re: 1.5.24-2 question about using echo on remote node.

2007-09-17 Thread DePriest, Jason R.
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/