[BusyBox] Possible bug

Torrey Hoffman Torrey.Hoffman at myrio.com
Wed May 29 13:21:03 UTC 2002


Dave Nafranowicz wrote:
> I'm new to linux, yet alone busybox but I do not know why the 
> first line in 
> busybox.links
> is always /usr/bin/[  .  Its like this right out of the tar ball and 

Believe it or not, "[" is actually a program, also called "test".  
The "[" name is so you can write expressions like

if [ -f foo.bar ] 
then
...

If test is run as "[" then the last parameter needs to be "]".
See test.c in the sources for details, also "man test" for the
full GNU version.

Torrey Hoffman
thoffman at arnor.net



More information about the busybox mailing list