Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: From: "Jan Schormann" To: Subject: sed-4.1.2-1: backslash in 'i' and 'a' changed? Date: Fri, 10 Sep 2004 10:06:06 +0200 Message-ID: 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/