RE: echo "$(echo '\r')" oddity

2005-05-09 Thread Jan Just Keijser
#x27;cygwin@cygwin.com' > Subject: Re: echo "$(echo '\r')" oddity > > Jan Just Keijser wrote: > > > in interactive mode the command seems to work fine. What happens if > > you build socat and then run the test script (./test.sh) ? > Which te

Re: echo "$(echo '\r')" oddity

2005-05-09 Thread Brian Dessent
Jan Just Keijser wrote: > in interactive mode the command seems to work fine. What happens if you > build socat and then run the test script (./test.sh) ? Which tests does it > fail on? test.sh fails on the openssl test for me too. I can't really follow exactly what the testcase is doing though.

RE: echo "$(echo '\r')" oddity

2005-05-08 Thread Jan Just Keijser
Hi Brian, in interactive mode the command seems to work fine. What happens if you build socat and then run the test script (./test.sh) ? Which tests does it fail on? What DOES fail for me is $ socat -t 0.1 exec:'openssl s_server -accept 12002 -quiet -cert cacert.pem -key privkey.pem' pipe & $ ec

Re: echo "$(echo '\r')" oddity

2005-05-04 Thread Brian Dessent
Jan Just Keijser wrote: > socat (http://www.dest-unreach.org/socat/) is a multi-purpose relay tool > that can be used to connect sockets to pipes and vice versa, or terminal > pty's to TCP sockets etc etc. I have found it a very handy tool to build > VPN-like things in a environment where you cann

RE: echo "$(echo '\r')" oddity

2005-05-04 Thread Jan Just Keijser
jser > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Brian Dessent > Sent: Tuesday, May 03, 2005 17:54 > To: 'cygwin@cygwin.com' > Subject: Re: echo "$(echo '\r')" oddity > > Jan Just Keijser wrote: &

Re: echo "$(echo '\r')" oddity

2005-05-03 Thread Brian Dessent
Jan Just Keijser wrote: > thx for the quick answer. Lemme guess: I am going to have to build my own > version of bash that does not have this behaviour... what is going to break > if I undo this patch from the bash source code? > > It's a shame though, coz this seems to be the only issue that sto

RE: echo "$(echo '\r')" oddity

2005-05-03 Thread Dave Korn
Original Message >From: Jan Just Keijser >Sent: 03 May 2005 16:33 > It's a shame though, coz this seems to be the only issue that stops that > nifty socat from working... all tests pass except those tests that use `` > or $() ... Well, if it's only failing a couple of tests, and those

RE: echo "$(echo '\r')" oddity

2005-05-03 Thread Jan Just Keijser
from working... all tests pass except those tests that use `` or $() ... Thx, JJ > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf > Of Brian Dessent > Sent: Tuesday, May 03, 2005 17:31 > To: 'cygwin@cygwin.com' > Subject: Re: ec

Re: echo "$(echo '\r')" oddity

2005-05-03 Thread Brian Dessent
Jan Just Keijser wrote: > I have just run into a Cygwin vs Linux oddity that I cannot explain. I've > managed to trace the problem back to a very simple statement: > echo "$(echo -e '\r')" | od -x > on my W2K Cygwin install (Cygwin1.dll 2005/04/01), this produces > 000 000a > 001 > O

echo "$(echo '\r')" oddity

2005-05-03 Thread Jan Just Keijser
Hi, I have just run into a Cygwin vs Linux oddity that I cannot explain. I've managed to trace the problem back to a very simple statement: echo "$(echo -e '\r')" | od -x on my W2K Cygwin install (Cygwin1.dll 2005/04/01), this produces 000 000a 001 On Linux, this command produces:

echo "$(echo '\r')" oddity

2005-05-03 Thread Jan Just Keijser
Hi, I have just run into a Cygwin vs Linux oddity that I cannot explain. I've managed to trace the problem back to a very simple statement: echo "$(echo -e '\r')" | od -x on my W2K Cygwin install (Cygwin1.dll 2005/04/01), this produces 000 000a 001 On Linux, this command produces: