From owner-freebsd-doc@FreeBSD.ORG Thu May 5 09:20:07 2005 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 046A616A4CE for ; Thu, 5 May 2005 09:20:07 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE07A43D81 for ; Thu, 5 May 2005 09:20:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j459K5h5082033 for ; Thu, 5 May 2005 09:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j459K5S9082032; Thu, 5 May 2005 09:20:05 GMT (envelope-from gnats) Resent-Date: Thu, 5 May 2005 09:20:05 GMT Resent-Message-Id: <200505050920.j459K5S9082032@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, vd@datamax.bg Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95A1316A4CE for ; Thu, 5 May 2005 09:18:04 +0000 (GMT) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E48443D49 for ; Thu, 5 May 2005 09:18:04 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from sinanica.bg.datamax (sinanica.bg.datamax [192.168.10.1]) by jengal.datamax.bg (Postfix) with QMQP id DAA6B87E3 for ; Thu, 5 May 2005 12:17:57 +0300 (EEST) Received: (nullmailer pid 15579 invoked by uid 1004); Thu, 05 May 2005 09:17:57 -0000 Message-Id: <20050505091757.GA15527@sinanica.bg.datamax> Date: Thu, 5 May 2005 12:17:57 +0300 From: Vasil Dimov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/80649: Wrong command for CRLF->LF conversion in porters-handbook X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vd@datamax.bg List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2005 09:20:07 -0000 >Number: 80649 >Category: docs >Synopsis: Wrong command for CRLF->LF conversion in porters-handbook >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu May 05 09:20:05 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Vasil Dimov >Release: FreeBSD 5.4-STABLE i386 >Organization: DataMax >Environment: System: FreeBSD sinanica.bg.datamax 5.4-STABLE FreeBSD 5.4-STABLE #5: Mon Apr 11 14:07:32 EEST 2005 root@sinanica.bg.datamax:/usr/obj/usr/src/sys/SINANICA-SMP i386 >Description: The command given in the "4.4 Patching" chapter of the porters-handbook as a way to convert CRLF line endings (dos format) to LF (unix) is mixture from find's -exec ... '{}' \; and xargs. >How-To-Repeat: >Fix: --- en_US.ISO8859-1/books/porters-handbook/book.sgml.orig Thu May 5 11:58:37 2005 +++ en_US.ISO8859-1/books/porters-handbook/book.sgml Thu May 5 11:59:17 2005 @@ -694,7 +694,7 @@ post-extract: @${FIND} -E ${WRKDIR} -type f -iregex ".*\.(c|cpp|h|txt)" -print0 | \ - ${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' '{}' \; + ${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' Of course, if you need to process each and every file, above can be omitted. Be aware that this >Release-Note: >Audit-Trail: >Unformatted: