From owner-freebsd-current@FreeBSD.ORG Thu May 29 19:41:30 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B438137B401 for ; Thu, 29 May 2003 19:41:30 -0700 (PDT) Received: from 255-237.ip.ll.net (255-237.ip.ll.net [209.131.255.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8539A43F3F for ; Thu, 29 May 2003 19:41:29 -0700 (PDT) (envelope-from jimd@siu.edu) Received: from freebsd2.localnet10 (localhost [127.0.0.1]) by freebsd2.localnet10 (8.12.9/8.12.9) with ESMTP id h4TLhOFk009733 for ; Thu, 29 May 2003 21:43:25 GMT (envelope-from jimd@siu.edu) Date: Thu, 29 May 2003 21:43:24 +0000 From: none To: current@freebsd.org Message-ID: <20030529214324.GA7341@freebsd2.localnet10> References: <20030529000838.A46371@freebsd2.localnet10> <20030529055745.GA96501@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20030529055745.GA96501@rot13.obsecurity.org>; from kris@obsecurity.org on Thu, May 29, 2003 at 05:57:45 +0000 X-Mailer: Balsa 2.0.11 Lines: 27 Subject: Re: 5.1-BETA2 pkg_info wierdness X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 May 2003 02:41:31 -0000 For anyone with backslashed +COMMENT files in /var/db/pkg, the following script can be used to clean them up. You could also wait until 5.1-RELEASE comes out, I suppose. #!/bin/tcsh cd /var/db/pkg foreach dir (`/bin/ls|/usr/bin/grep -v pkgdb.db`) echo $dir; cd $dir; /bin/ls -l +COMMENT /usr/bin/sed 's/\\//g' +COMMENT > pkg-descr /bin/mv pkg-descr +COMMENT cd /var/db/pkg end exit On 2003.05.29 05:57, Kris Kennaway wrote: > On Thu, May 29, 2003 at 12:15:20AM +0000, jimd_NOSPAM@siu.edu wrote: > > Instead of simple text lines, pkg_info is returning what looks like > > "escaped words" after clean install of 5.1-BETA2: > > Already fixed, thanks. > > Kris >