#55403 closed defect (invalid)
coreutils installs binary named g[
Reported by: | mf2k (Frank Schima) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | coreutils |
Description
$ port provides /opt/local/bin/g[ /opt/local/bin/g[ is provided by: coreutils
That binary name ("g[") seems unusual. I assume that is a bug in the Portfile?
Change History (2)
comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign added |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Not a bug.
[
is a legal binary name, and a normal component of UNIX systems. macOS ships with a copy of this binary at/bin/[
.When would you use a binary named
[
? For example in the following constructions:The coreutils port puts a
g
in front of every binary name, so it ends up asg[
, which admittedly isn't going to get much use, but a symlink to it, named[
, is in /opt/local/libexec/gnubin, and that might get more use. But you can still use it asg[
if you want, e.g.:[
is the same thing astest
, with the exception that if you invoke it as[
, you must supply a final argument]
.