From owner-freebsd-ports Mon Nov 4 17:32: 1 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD67537B401 for ; Mon, 4 Nov 2002 17:31:59 -0800 (PST) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72AA643E42 for ; Mon, 4 Nov 2002 17:31:59 -0800 (PST) (envelope-from monkey@vectors.cx) Received: from vectors.cx (c4ff8586c1b15ad76d102892b1bcbc3c@localhost [127.0.0.1]) by vectors.cx (8.12.6/8.12.4) with ESMTP id gA51Xsit041939; Mon, 4 Nov 2002 17:33:54 -0800 (PST) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.6/8.12.6/Submit) id gA51XsOI041938; Mon, 4 Nov 2002 17:33:54 -0800 (PST) (envelope-from monkey) Date: Mon, 4 Nov 2002 17:33:54 -0800 From: Adam Weinberger To: Edwin Groothuis Cc: ports@FreeBSD.ORG Subject: Re: funny REINPLACE_CMD failure for \r Message-ID: <20021105013354.GA197@vectors.cx> Mail-Followup-To: Adam Weinberger , Edwin Groothuis , ports@FreeBSD.ORG References: <20021105003210.GA92795@k7.mavetju> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <20021105003210.GA92795@k7.mavetju> X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-PGP-Key: http://www.vectors.cx/pgp.key.txt X-URL: http://www.vectors.cx http://www.crackula.com User-Agent: Mutt/1.5.1i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >> (11.04.2002 @ 1632 PST): Edwin Groothuis said, in 0.7K: << > Greetings, > > It seems that REINPLACE_CMD doesn't know how to handle \r's in the > expression, "-e 's!\r!!'" fails all the time for me (no matter how > much \'s I add to it :-). Right now I just replace these by > "${TR} -d '\015' < file > file.new; {$MV} file.new file" > but I was wondering if somebody has a better solution for it. > > Edwin >> end of "funny REINPLACE_CMD failure for \r" from Edwin Groothuis << Does ^V^M not work? - -Adam - -- Adam Weinberger adam@vectors.cx adamw@FreeBSD.ORG -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE9xyACo8KM2ULHQ/0RArYYAKC3x2h/JTqF8jrEO881uXyCX3rd0gCfWahh gOe3oECP/ScntP9NaVBtxEA= =Cb7L -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message