Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Reply-To: <Jan.Schormann@BrainLAB.com>
From: "Jan Schormann" <Jan.Schormann@BrainLAB.com>
To: <cygwin@cygwin.com>
Subject: sed-4.1.2-1: backslash in 'i' and 'a' changed?
Date: Fri, 10 Sep 2004 10:06:06 +0200
Message-ID: <KCEOLMMHICICJKHPFOALOEILCIAA.Jan.Schormann@BrainLAB.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 10 Sep 2004 08:06:06.0585 (UTC) FILETIME=[06186E90:01C4970D]
X-Spam-Status: No, hits=-102.6 required=6.0 tests=BAYES_20,MSGID_GOOD_EXCHANGE,RCVD_IN_ORBS,USER_IN_WHITELIST version=2.55
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
X-IsSubscribed: yes

Hi,

try this:

 $ echo | sed -e 'a\\'

in sed-4.0.9-2 and sed-4.1.2-1: The old one produces a backslash,
the new one doesn't. Unfortunately, this breaks a makefile I use
for generating LaTeX output ...

Can this be a side effect of the change described below? Will this
be stable or is it a bug?

---------------------------------------------------------------
From: Corinna Vinschen
Subject: Updated: sed-4.1.2-1
Date: Sun, 22 Aug 2004 10:14:24 -0700

[...]

  when a \ is used to escape the character that would terminate an
operand
  of the s or y commands, the backslash is removed before the regex
is
  compiled.

[...]
---------------------------------------------------------------

Cheers,
	Jan.



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

