Path: csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: Eli Schwartz Newsgroups: gnu.bash.bug Subject: =?UTF-8?B?UmU6IOKAmGNvbW1hbmQg4oCmICbigJkgY3JlYXRlcyBzdWJzaGVsbA==?= Date: Wed, 1 Jul 2020 14:19:28 -0400 Lines: 81 Approved: bug-bash@gnu.org Message-ID: References: <511886e8-2262-39ee-2a01-7d284e981cb1@archlinux.org> <7dvoi92p.dag@gnui.org> <09ea84b2-4fb1-6b05-7c0b-fe6b2ab00c6f@archlinux.org> <2643.1593599092@jinx.noi.kre.to> <24624.1593615917@jinx.noi.kre.to> <29344.1593626485@jinx.noi.kre.to> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="H4TRqjdgedvGsFSO68C2RhdWtr5DuAcsM" X-Trace: usenet.stanford.edu 1593627586 11948 209.51.188.17 (1 Jul 2020 18:19:46 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bug-bash@gnu.org To: Robert Elz , Dmitry Alexandrov Envelope-to: bug-bash@gnu.org X-Spam-BL-Results: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=archlinux.org; s=orion; t=1593627574; bh=laS56Dp6FeJ1SMxTeM5+dMcVdGJAj91fx/fuGz1/3Pc=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=OqOXlGhWPy+HBwSHLQz5/P8N48/W80PeebIs+cMDjR4nB6VZV59QliwksBRVYiF8a Bhq3orFeaG/hDRUnw3Bv5rHSHT4vdz7PZP+z0cmMw7QsnwMs+28h9R6PTJAxGDl4/r fu690XwTE7EPE4FIGCfeqDQueQjWJFmYtMJSb17McmklsqDSlS6gyFWsrIOFpGhmNV pjZKnx0P1AUxkPtkx61l6kcFnAfWMLCcAGQIyJVgFsTv7Xjv7KOrPKt10yi4GRASTx U8opmxFNLt25i8WtKHX+xZVJuNnuSPALtFvkcGrpfUlrSqFfqq4ZzKxQw5U0oz9SDw Bz+4fYW7mlFtKMN6Z77yD6lykD5QXBtsY67EJkOB4vQ9VEaSpZj6u/bnLtALJBBysb vSBxme8SdiRb2CuEW2ujel/NIjKkNixHwOOds8gdGIuPvQPx5EjBnlIvQ6pZU5uv+R 3EIvJOBndYAaTQu+eWguE564JH3PHVdk28o/p3QMlPuhkYmr+N0yPeo0xRhLRHth7q cpy+TorsOF4ZWodplQ/OKsxtZZOZVdWMPUmsNJEnGYNySnsOCSHiS9gqh3OzY28DOM Vo1MOD4JpWmxJ1//SnpIh/4bT+Uuh8EMI4x7qLkE+gm+T1NKKnJa8RN/zoDAklCwTo R6DNjaR0+WeRAaxB7MWdOaXU= X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 In-Reply-To: <29344.1593626485@jinx.noi.kre.to> Received-SPF: pass client-ip=88.198.91.70; envelope-from=eschwartz@archlinux.org; helo=orion.archlinux.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/01 14:19:40 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <511886e8-2262-39ee-2a01-7d284e981cb1@archlinux.org> <7dvoi92p.dag@gnui.org> <09ea84b2-4fb1-6b05-7c0b-fe6b2ab00c6f@archlinux.org> <2643.1593599092@jinx.noi.kre.to> <24624.1593615917@jinx.noi.kre.to> <29344.1593626485@jinx.noi.kre.to> Xref: csiph.com gnu.bash.bug:16520 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --H4TRqjdgedvGsFSO68C2RhdWtr5DuAcsM Content-Type: multipart/mixed; boundary="DlyIQlA50EWyjmfklLQNsND7y6MWgB4ph" --DlyIQlA50EWyjmfklLQNsND7y6MWgB4ph Content-Type: text/plain; charset=utf-8 Content-Language: en-US-large Content-Transfer-Encoding: quoted-printable On 7/1/20 2:01 PM, Robert Elz wrote: > The lack of an easy method to force execution of a command from the > filesystem is very likely because there is generally no reason to do > that. That is, no-one ever really wanted it, so no method was invente= d. >=20 > However, for whatever reason, people keep asking how. Either by direct= ly > asking the question, or by picking one of the popular (but incorrect) > methods, and either claiming it works, or complaining when it doesn't. >=20 > As best I can tell, other than doing a search of PATH, and then using t= he > full path name (which is what $(type -P cmd) does in bash, more succinc= tly > than shells that don't have this -P option to type), [...] One reason might be because the busybox applets for programs which are *normally* external disk utilities, can be lacking in functionality, often by a lot. In some cases, *hilariously* so (look at busybox ps, it's basically a long list of FIXMEs for POSIX requirements). I will confess however that I usually solve this by not considering busybox to be a suitable /bin/sh. The more general solution, possibly, would be e.g. invoking gawk, not awk, if you know you need extended functionality. awk might be a builtin (is, with busybox), but gawk probably isn't! --=20 Eli Schwartz Arch Linux Bug Wrangler and Trusted User --DlyIQlA50EWyjmfklLQNsND7y6MWgB4ph-- --H4TRqjdgedvGsFSO68C2RhdWtr5DuAcsM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEvSewel70XCra9w4EhIGKaBmvSpsFAl7807I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