From owner-freebsd-bugs Mon Mar 10 15:50: 7 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED75337B401; Mon, 10 Mar 2003 15:50:05 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D46143FBF; Mon, 10 Mar 2003 15:50:05 -0800 (PST) (envelope-from robert@FreeBSD.org) Received: from freefall.freebsd.org (robert@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h2ANo5NS083322; Mon, 10 Mar 2003 15:50:05 -0800 (PST) (envelope-from robert@freefall.freebsd.org) Received: (from robert@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2ANo5Up083300; Mon, 10 Mar 2003 15:50:05 -0800 (PST) Date: Mon, 10 Mar 2003 15:50:05 -0800 (PST) From: Robert Drehmel Message-Id: <200303102350.h2ANo5Up083300@freefall.freebsd.org> To: jau@iki.fi, robert@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: bin/49038: /bin/sh does not undefine a function when unset is issued Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: /bin/sh does not undefine a function when unset is issued State-Changed-From-To: feedback->closed State-Changed-By: robert State-Changed-When: Mon Mar 10 15:40:44 PST 2003 State-Changed-Why: The bourne shell in both 4.7-RELEASE and -CURRENT distinguishes between variables and functions in its `unset' command. To unset functions, the `-f' flag must be explicitly given. The problem lay in the documentation of earlier FreeBSD versions. Originator considers PR resolved. http://www.freebsd.org/cgi/query-pr.cgi?pr=49038 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message