From owner-freebsd-questions@FreeBSD.ORG Fri Mar 13 16:21:59 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEF5F1065680 for ; Fri, 13 Mar 2009 16:21:59 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mail.gmx.com (unknown [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id BC9D18FC08 for ; Fri, 13 Mar 2009 16:21:58 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: (qmail invoked by alias); 13 Mar 2009 16:21:57 -0000 Received: from adsl73-179.ath.forthnet.gr (EHLO [192.168.1.5]) [77.49.4.179] by mail.gmx.com (mp-eu002) with SMTP; 13 Mar 2009 17:21:57 +0100 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1/yuVI4CJbyvSypRZY7Qzmu9AEmERl9f2gIYgpinA oR88UnPVWAC3KF Message-ID: <49BA880B.6050405@gmx.com> Date: Fri, 13 Mar 2009 18:21:31 +0200 From: Nikos Vassiliadis User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: David Banning References: <20090312173436.GA51898@skytracker.ca> <49BA278D.5080800@gmx.com> <49BA6DBD.2010304@skytracker.ca> <49BA838D.8010703@gmx.com> <49BA8716.4040803@skytracker.ca> In-Reply-To: <49BA8716.4040803@skytracker.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.75 Cc: questions@freebsd.org Subject: Re: sed error "unescaped newline inside substitute pattern" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2009 16:22:00 -0000 David Banning wrote: > I have looked at the file in vi but the problematic characters are > invisible there. The problematic character is the newline character, \n, ASCII 0xA. And, yes vi is old but it's a few months now that it supports newlines without problems;) Nikos