Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 845333 - sys-apps/coreutils-9.1-r1 created /usr/bin/[
Summary: sys-apps/coreutils-9.1-r1 created /usr/bin/[
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-18 09:49 UTC by Mike Lothian
Modified: 2022-05-18 10:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Lothian 2022-05-18 09:49:46 UTC
I'm pretty sure that shouldn't be there

ls -lart /usr/bin/\[ 
-rwxr-xr-x 1 root root 55784 May  4 12:22 '/usr/bin/['


Reproducible: Always
Comment 1 Ionen Wolkens gentoo-dev 2022-05-18 10:05:02 UTC
No, it's intended. It's shell test in non-builtin form similar to /bin/echo and such.

e.g. /usr/bin/[ -n nonempty ] && echo yes

Mostly same as /usr/bin/test bare a few difference (--help works with [).
Comment 2 Mike Lothian 2022-05-18 10:39:03 UTC
Thanks, I didn't even think it might have been real - seen so many strange file names when scripting has gone wrong :D