From owner-freebsd-questions@FreeBSD.ORG Fri Mar 23 18:18:41 2007 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5AFB216A400 for ; Fri, 23 Mar 2007 18:18:41 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id C98B713C4C2 for ; Fri, 23 Mar 2007 18:18:40 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l2NIJBHp043740 for ; Fri, 23 Mar 2007 10:19:12 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l2NIJBWQ043725 for freebsd-questions@FreeBSD.ORG; Fri, 23 Mar 2007 10:19:11 -0800 (PST) (envelope-from kline) Date: Fri, 23 Mar 2007 10:19:09 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20070323181909.GA38716@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Cc: Subject: Oops... {upgrading, using a script and pkg_version} 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, 23 Mar 2007 18:18:41 -0000 Hi people, A day or three ago somebody posted a neat upgrade script (or snippet of) using a shell for loop and pkg_version. I was going to save, thought I saved it to ~/Mail/freebsd. Can't find it. Anybody knw which post I'm thinking of? It was something like: for `pkgversion -xyz {foo}`; whatever; do portupgrade -abc; done but something that was much more sharp. Several days ago I saved the output of pkg_version -IL'<=' to /tmp/Up.sh, then edited in portupgrade to each of the 20+ ports. As a result, I'm almost entirely upgraded here. What I saw looked much more efficient. thanks, guys, gary -- Gary Kline kline@thought.org www.thought.org Public Service Unix