In today #Linux #shell adventures, did you know that [ is an executable ELF binary provided by coreutils? There's a /usr/bin/[ program in the $PATH on most Linux systems.
@Jonathan Lamothe @Scott Williams 🐧 On my system both are their own binaries, and both seem to be different (vbindiff shows differences), but they do the same thing
Jonathan Lamothe
in reply to Scott Williams 🐧 • • •@Scott Williams 🐧 ...which is usually a symlink to
/usr/bin/test
, if I'm not mistaken.Edit: It appears this may no longer be the case.
Scott Williams 🐧
in reply to Jonathan Lamothe • • •Jonathan Lamothe
in reply to Scott Williams 🐧 • • •silverwizard
in reply to Jonathan Lamothe • •Jonathan Lamothe
in reply to silverwizard • • •/usr/bin/test
Doesn't look for a trailing]
, for starters. ;)