From owner-freebsd-stable Thu Oct 10 12:26:32 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0F7F37B401 for ; Thu, 10 Oct 2002 12:26:30 -0700 (PDT) Received: from proverbs.outreachnetworks.com (proverbs.outreachnetworks.com [65.196.249.4]) by mx1.FreeBSD.org (Postfix) with SMTP id F382043EB3 for ; Thu, 10 Oct 2002 12:26:29 -0700 (PDT) (envelope-from elh@outreachnetworks.com) Received: (qmail 72031 invoked from network); 10 Oct 2002 19:26:29 -0000 Received: from phoncella.outreachnetworks.com (65.196.249.11) by proverbs.outreachnetworks.com with SMTP; 10 Oct 2002 19:26:29 -0000 Received: (from elh@localhost) by phoncella.outreachnetworks.com (8.11.6/8.11.6) id g9AJQSa19263 for freebsd-stable@FreeBSD.ORG; Thu, 10 Oct 2002 15:26:28 -0400 X-Authentication-Warning: phoncella.outreachnetworks.com: elh set sender to elh@outreachnetworks.com using -f Date: Thu, 10 Oct 2002 15:26:28 -0400 From: "Eric L. Howard" To: freebsd-stable@FreeBSD.ORG Subject: Re: New sed breaks ports Message-ID: <20021010152628.A18833@outreachnetworks.com> Mail-Followup-To: freebsd-stable@FreeBSD.ORG References: <3DA5C638.10605@potentialtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3DA5C638.10605@potentialtech.com>; from wmoran@potentialtech.com on Thu, Oct 10, 2002 at 02:26:00PM -0400 X-Favorite-Scripture: Romans 8:18 X-Theocratic-Rule-Advocate: http://www.crossmovement.com X-Registered-Secret-Agent: Agent Double-Naught Seven X-Operating-System: Linux 2.4.7-10 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At a certain time, now past, Bill Moran spake thusly: > Don Bowman wrote: > > try > > > > make REINPLACE_CMD="sed -i" > > or > > make REINPLACE_CMD="/usr/local/bin/sed_inplace" > > > > when you do the make for the port. > > > > I don't know why this is a problem, I've run into it > > myself (on other ports). > > Thanks for the suggestion, but I continue to > get the exact same error. > > On a related note, what is the shell magic to redirect > both stdout and stderr to a file, I though it was: > > make REINPLACE_CMD="sed -i" 2>&1 > /dir/file.txt You didn't say what shell your're using: Bash and bourne - command > file 2>&1 > but apparently I've been in mousy/clicky land too > long to remember my shell syntax. I want to capture > the exact errors and formulate a better post, as I'm > getting a lot of the same suggestions over and over. Check out script(1). $ script /var/tmp/script.output $ command ..... .... $ exit $ less /var/tmp/script.output ~elh -- Eric L. Howard e l h @ o u t r e a c h n e t w o r k s . c o m ------------------------------------------------------------------------ www.OutreachNetworks.com 313.297.9900 ------------------------------------------------------------------------ Advocate of the Theocratic Rule To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message