From owner-freebsd-standards@FreeBSD.ORG Wed Mar 3 01:05:27 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0593616A4CE; Wed, 3 Mar 2004 01:05:27 -0800 (PST) Received: from pengo.systems.pipex.net (pengo.systems.pipex.net [62.241.160.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id B08D543D39; Wed, 3 Mar 2004 01:05:26 -0800 (PST) (envelope-from mark@thuvia.org) Received: from dotar.thuvia.org (81-86-74-108.dsl.pipex.com [81.86.74.108]) by pengo.systems.pipex.net (Postfix) with ESMTP id D575D4C00255; Wed, 3 Mar 2004 09:05:23 +0000 (GMT) Received: from dotar.thuvia.org (localhost [127.0.0.1]) by dotar.thuvia.org (8.12.9/8.12.9) with ESMTP id i2395Nag024165; Wed, 3 Mar 2004 09:05:23 GMT (envelope-from mark@dotar.thuvia.org) Received: (from mark@localhost) by dotar.thuvia.org (8.12.9/8.12.9/Submit) id i2395NQk024164; Wed, 3 Mar 2004 09:05:23 GMT (envelope-from mark) Message-Id: <200403030905.i2395NQk024164@dotar.thuvia.org> From: Mark Valentine Date: Wed, 3 Mar 2004 09:05:22 +0000 In-Reply-To: X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: jkh@queasyweasel.com ("Jordan K. Hubbard"), wollman@freebsd.org cc: freebsd-standards@freebsd.org Subject: Re: What's up with /usr/src/usr.bin/alias? X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 09:05:27 -0000 > From: jkh@queasyweasel.com ("Jordan K. Hubbard") > Date: Tue 2 Mar, 2004 > Subject: What's up with /usr/src/usr.bin/alias? > As some people already know, the SUSv2 standards require that a number > of commands which are typically implemented as shell built-ins also > exist in /usr/bin (for reasons which are at best clear to The Open > Group). Unfortunately, the Open Group UNIX conformance test suite also > tests that these things actually *work*, which can't be said for > FreeBSD's current set, as we can see by the following interaction with > /bin/sh: > > # cat > ^Z > [1] + Suspended cat > # /usr/bin/fg > fg: No current job > # /usr/bin/jobs > # jobs > [1] + Suspended cat > # fg > cat > ^D > # > > Using the fg and jobs builtins work, using the "command equivalents" do > not. What exactly is the test suite testing? SUSv3 has this to say in an informative section: "The jobs utility does not work as expected when it is operating in its own utility execution environment because that environment has no applicable jobs to manipulate. See the APPLICATION USAGE section for bg . For this reason, jobs is generally implemented as a shell regular built-in." So it looks like the examples you tried conform just fine. There are similar paragraphs for cd and so on. Cheers, Mark. -- "Tigers will do ANYTHING for a tuna fish sandwich." "We're kind of stupid that way." *munch* *munch* --