This is the mail archive of the
mailing list for the Cygwin project.
Re: Not compatible between cygwin-B20 and cygwin-18.104.22.168
- From: "Michael A Chase" <mchase at ix dot netcom dot com>
- To: "hiranaga $BJ?1J(B $BL3(B
" <hiranaga at siden dot cow dot melco dot co dot jp>
- Cc: "cygwin" <cygwin at cygwin dot com>
- Date: Sun, 20 Jan 2002 19:43:39 -0800
- Subject: Re: Not compatible between cygwin-B20 and cygwin-22.214.171.124
- References: <F62F23EA996ED4119B8100600841EF0B019BBA96@exgft24.cow.melco.co.jp>
I am not the sole source of wisdom in the list. Please address your
questions there. I have forwarded my response to the list.
When I view this message (Content-Type: text/plain; charset="iso-2022-jp")
all the backslashes I paste from the bash console window show up as yen
On the other hand, the command worked as I expected. The following three
lines, starting with "$", are cut and pasted from my console window. The
first line under the command is what I typed in and the second line is the
output (STDIN -> sed -> STDOUT). Maybe you have varying characters for "'"
or "-" in the sed expression.
$ sed -e 's-\\-/-g'
MS Windows XP
I run bash in a console window using the icon created by setup.exe. You
don't seem to have rxvt loaded, so you are probably doing the same.
=== Late news ===
I get the same error you do when I try to run sed at the MSDOS prompt.. Use
the bash prompt instead when you want to use Cygwin utilities. It's a much
more consistent and reliable environment.
** I normally forward private questions to the appropriate mail list. **
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.
----- Original Message -----
From: "hiranaga $BJ?1J(B $BL3(B" <firstname.lastname@example.org>
To: "Michael A Chase" <email@example.com>
Sent: Sunday, January 20, 2002 16:37
Subject: RE: Not compatible between cygwin-B20 and cygwin-126.96.36.199
> Error command :
> sed -e 's-\\-/-g' <I want to change \ to />
> sed: -e expression #1, char 7: Unterminated `s' command <- error
> cygwin1.dll version :
> Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2
> 720k 2001/12/08 C:\cygwin\bin\cygwin1.dll
> Cygwin DLL version info:
> DLL version: 1.3.6
> . . .
> CVS tag: cygwin-1-3-6-6
> . . .
> Cygwin Package Information
> Package Version
> ash 20011018-1
> bash 2.05a-2
> cygwin 1.3.6-6
> . . .
> sed 3.02-1
> -----Original Message-----
> From: Michael A Chase [mailto:firstname.lastname@example.org]
> Sent: Saturday, January 19, 2002 3:35 AM
> To: hiranaga $BJ?1J(B $BL3(B; email@example.com
> Subject: Re: Not compatible between cygwin-B20 and cygwin-188.8.131.52
> The version number you've given (184.108.40.206) is the current version of
> setup.exe. To find the cygwin version, run 'cygcheck -s' and look at the
> version information for cygwin1.dll.
> There may be a problem with character set translation. In some views, I
> two backslashes as the first part of the sed expression and in others I
> two yen symbols. The sed command hasn't changed in a very long time, but
> your keyboard and display drivers may be putting up characters other than
> what you think.
> ----- Original Message -----
> From: "hiranaga $BJ?1J(B $BL3(B" <firstname.lastname@example.org>
> To: <email@example.com>
> Sent: Thursday, January 17, 2002 17:08
> Subject: sed : Not compatible between cygwin-B20 and cygwin-220.127.116.11
> > Following command dosn't work on cygwin-18.104.22.168
> > sed -e 's-\\-/-g' <I want to change \ to />
> > sed: -e expression #1, char 7: Unterminated `s' command <- error
> > But same command work on cygwin-B20.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html