[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dash bug which is affecting release goal

[No need to Cc me; I'm subscribed.  Please respect my M-F-T.]

On Sun, Feb 10, 2008 at 08:39:45PM -0600, William Pitcock wrote:
On Sun, 2008-02-10 at 22:11 +0000, brian m. carlson wrote:
As far as I can tell, /usr/bin/test and /usr/bin/[ are completely useless, because none of bash, dash, posh, or zsh use them. Maybe pdksh does, but that's pretty much the list of shells that could be coerced into being /bin/sh. I propose we remove those executables from coreutils if it turns out that they are never executed.

As far as I know, test and [ are infact required to be executables.
POSIX says so. I'm .. beyond words right now at this paragraph.

You are correct; I checked. And POSIX does provide a good rationale for it, so I withdraw my proposal. I didn't consider the fact that they might be used by programs such as /usr/bin/env.

brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
troff on top of XML: http://crustytoothpaste.ath.cx/~bmc/code/thwack
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187

Attachment: signature.asc
Description: Digital signature

Reply to: