Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 845333

Summary: sys-apps/coreutils-9.1-r1 created /usr/bin/[
Product: Gentoo Linux Reporter: Mike Lothian <mike>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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