From owner-freebsd-current Thu Sep 17 13:13:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA16607 for freebsd-current-outgoing; Thu, 17 Sep 1998 13:13:46 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [128.120.56.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA16563; Thu, 17 Sep 1998 13:13:22 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by relay.nuxi.com (8.8.8/8.6.12) id NAA04415; Thu, 17 Sep 1998 13:13:08 -0700 (PDT) Message-ID: <19980917131308.B4237@nuxi.com> Date: Thu, 17 Sep 1998 13:13:08 -0700 From: "David O'Brien" To: chuckr@FreeBSD.ORG Cc: freebsd-current@FreeBSD.ORG Subject: Re: amd uses printf(1) Reply-To: obrien@NUXI.com References: <35FAE277.1E3F48B6@dal.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Robert Watson on Sat, Sep 12, 1998 at 06:49:23PM -0400 X-Operating-System: FreeBSD 2.2.7-STABLE Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The usage is in: LIBAMUDIR!= cd ${.CURDIR}/../libamu; \ printf 'xwhere: .MAKE\n\t@echo \$${.OBJDIR}\n' | ${MAKE} -Bs -f- LIBAMU= ${LIBAMUDIR}/libamu.a I'm more than willing to remove the printf(1) usage, if someone can come up with an equivent output using other things already built early in src/Makefile.inc1. Things I could almost see someone somehow using are: sed, tr, grep, bin/echo, expr, test, awk, paste -- -- David (obrien@NUXI.ucdavis.edu -or- obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message