From owner-freebsd-questions@freebsd.org Thu Oct 26 23:25:00 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 67F1AE55755 for ; Thu, 26 Oct 2017 23:25:00 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 36C1E6DF4A for ; Thu, 26 Oct 2017 23:25:00 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from lowell-desk.lan (router.lan [172.30.250.2]) by be-well.ilk.org (Postfix) with ESMTP id 523A033C26; Thu, 26 Oct 2017 19:24:51 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 1636B3981A; Thu, 26 Oct 2017 19:24:50 -0400 (EDT) From: Lowell Gilbert To: Polytropon Cc: Ian Smith , freebsd-questions@freebsd.org, Manish Jain Subject: Re: A request to segregate man pages for shell built-ins References: <20171027021115.A40402@sola.nimnet.asn.au> <20171026214620.bf8fcbf2.freebsd@edvax.de> Date: Thu, 26 Oct 2017 19:24:50 -0400 In-Reply-To: <20171026214620.bf8fcbf2.freebsd@edvax.de> (Polytropon's message of "Thu, 26 Oct 2017 21:46:20 +0200") Message-ID: <44r2tpmr0d.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2017 23:25:00 -0000 Polytropon writes: > Yes, this is true as long as the script uses [ or test. Some do > explicitely call /bin/test. I'm almost sure this isn't true anymore > on today's modern FreeBSD, but older UNIX scripts occassionally > were constructed in such a way that they called the binaries > explicitely with the full path. Maybe this has been some portability > issue. It's more of a security issue. If you call it with the full path, you know, absolutely, which flavor of the command will be used.