delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/06/20:18:38

From: luke AT research DOT canon DOT com DOT au (Luke Kendall)
Subject: sed unterminated 's' command
6 May 1997 20:18:38 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199705070129.LAA23232.cygnus.gnu-win32@tosh.research.canon.com.au>
Mime-Version: 1.0 (NeXT Mail 3.3 v118.2)
Original-To: gnu-win32 AT cygnus DOT com
Original-cc: luke AT research DOT canon DOT com DOT au
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Hi

This is related to gnu-win32 beta 17.1 under Windows Nt 3.51,
and also the version of August 1996.  It looks like sed has
had a bug introduced.

The true sed version number is unknown, since the old and new versions
(as evidenced by executable file size) report the same version number.

Here are the details:

$ x:/gnu-win32/bin/sed --version
GNU sed version 2.05
$ x:/gnu-win32/bin-new/sed --version
GNU sed version 2.05
$ d:/user/local/bin/sed --version
GNU sed version 2.05

$ ls -l  d:/user/local/bin/sed.exe x:/gnu-win32/bin-new/sed.exe  
x:/gnu-win32/bin/sed.exe
-rwxrwxrwa   1 Everyone        Everyone          89600 Apr 23 17:15  
d:/user/local/bin/sed.exe
-rwxrwxrwx   1 PAGE\luke       PAGE\Domain+Users   89600 Sep  3  1996  
x:/gnu-win32/bin-new/sed.exe
-rwxrwxrwx   1 PAGE\greyham    PAGE\Domain+Users   52224 Apr 13  1996  
x:/gnu-win32/bin/sed.exe

$ echo fred | x:/gnu-win32/bin/sed 's/.*/xxx &/'
xxx fred
$ echo fred | x:/gnu-win32/bin-new/sed 's/.*/xxx &/'
//x/gnu-win32/bin-new/sed: Unterminated `s' command
$ echo fred | d:/user/local/bin/sed 's/.*/xxx &/'
//d/user/local/bin/sed: Unterminated `s' command
$

Regards,

luke
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019