Re:Fedora to simplify filesystem hierarchy
by viraptor on Thursday November 03, 2011 @10:58AM
(#3192045)
There are some built-ins which also have a corresponding command. For example "true" is a built-in in bash, but there's also "/bin/true". So some people might prefer to use /bin/true for whatever reason. I believe this is what that quoted fragment referred to.
[ Parent
| on HN ]
Re:Fedora to simplify filesystem hierarchy
by scott_s on Thursday November 03, 2011 @11:01AM
(#3192057)
Correct, but his point was that the sentence says built-ins can be relocated, which makes no sense.
Re:Fedora to simplify filesystem hierarchy
by viraptor on Thursday November 03, 2011 @11:19AM
(#3192157)
I think it was just a mistake, or a mental shortcut for:
"If the full path is used and the [binary or script reimplementing said] built-in has been relocated"
Re:Fedora to simplify filesystem hierarchy
by scott_s on Thursday November 03, 2011 @11:28AM
(#3192204)
Built-ins don't call a separate binary or script - they are literally implemented as a part of the shell. That is, if you look at the shell source code, you will see functions that implement the built-ins. As I pointed out elsewhere, I think they mistakenly said "built-ins."