From owner-cvs-all Wed Jul 17 10: 3:26 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BFE437B400; Wed, 17 Jul 2002 10:03:21 -0700 (PDT) Received: from lion-around.at.yiff.net (lion-around.at.yiff.net [167.206.208.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id A354143E6A; Wed, 17 Jul 2002 10:03:20 -0700 (PDT) (envelope-from chris@netmonger.net) Received: from lion-around.at.yiff.net (localhost [127.0.0.1]) by lion-around.at.yiff.net (8.12.5/8.12.5) with ESMTP id g6HH3JND039324; Wed, 17 Jul 2002 13:03:19 -0400 (EDT) (envelope-from chris@netmonger.net) Received: (from chris@localhost) by lion-around.at.yiff.net (8.12.5/8.12.5/Submit) id g6HH3JIG039323; Wed, 17 Jul 2002 13:03:19 -0400 (EDT) X-Authentication-Warning: lion-around.at.yiff.net: chris set sender to chris@netmonger.net using -f Date: Wed, 17 Jul 2002 13:03:19 -0400 From: Christopher Masto To: Garrett Wollman Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/usr.bin Makefile src/usr.bin/cd Makefile cd.sh src/usr.bin/command Makefile command.sh Message-ID: <20020717170319.GA39278@netmonger.net> References: <200207162113.g6GLDBBE081559@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200207162113.g6GLDBBE081559@freefall.freebsd.org> User-Agent: Mutt/1.3.99i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Jul 16, 2002 at 02:13:11PM -0700, Garrett Wollman wrote: > wollman 2002/07/16 14:13:11 PDT > > Modified files: > usr.bin Makefile > Added files: > usr.bin/cd Makefile cd.sh > usr.bin/command Makefile command.sh > Log: > POSIX requires these shell builtins to also exist as totally pointless > external commands. Since they serve no useful purpose, it's OK that their > implementation is not the most efficient possible. Is it legal for them to print a warning or something when they're run? I'm imagining similar confusion as when first-year CS students name their programs "test". Someone somewhere will write "/usr/bin/cd foo" in a script and go nuts trying to figure it out. -- Christopher Masto CB461C61 8AFC E3A8 7CE5 9023 B35D C26A D849 1F6E CB46 1C61 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message