From owner-freebsd-questions@FreeBSD.ORG Mon Dec 15 18:44:12 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4DBF16A4CE for ; Mon, 15 Dec 2003 18:44:12 -0800 (PST) Received: from smtp3.server.rpi.edu (smtp3.server.rpi.edu [128.113.2.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 708A943D1D for ; Mon, 15 Dec 2003 18:44:11 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp3.server.rpi.edu (8.12.10/8.12.9) with ESMTP id hBG2YuYR030337; Mon, 15 Dec 2003 21:34:57 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20031215234136.449d995f.itetcu@apropo.ro> References: <20031215234136.449d995f.itetcu@apropo.ro> Date: Mon, 15 Dec 2003 21:34:55 -0500 To: Ion-Mihai Tetcu , freebsd-questions@freebsd.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) Subject: Re: Stupid cvsup questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2003 02:44:12 -0000 At 11:41 PM +0200 12/15/03, Ion-Mihai Tetcu wrote: >Hi, > > >I have 2 identical (copy/paste) ports-supfiles on two machines: > >it# grep -v '#' /etc/ports-supfile >*default host=cvsup.ro.FreeBSD.org >*default base=/usr >*default prefix=/usr >*default release=cvs tag=. >*default delete use-rel-suffix >*default compress >ports-all >I run it like: ># cvsup -g /etc/ports-supfile on both machines. > >The stupid question: >why on the second I have the `,v' suffix ? > >Is there an env variable or something ? I don't think so. Did you try copying the file from one machine to the other, and doing a direct diff? It looks like the 'tag=.' is being ignored for some reason. I suspect you have tried that, but it's hard to imagine why the two machines would be different. I'd also note that your grep command shouldn't ignore lines that have a '#' that is anywhere in the line. Only ignore lines where there is nothing interesting before the '#'. Eg: grep -v '^ *#' I don't know what else to suggest. From what you describe in your message, both hosts should be getting the same set of files. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu