Hej Aug!
A> What are the [ and [[
Along with ] and ]] they are tests and exit returning a 0 for true and 1 for false.
Try this at your busybox commandline;
[ "a" = "a" ] ; echo $?
It should return a 0 for true since a is equal to a. Now try;
[ "a" = "b" ] ; echo $?
In this case it should return a 1 for false since a is not equal to b.
Clear as mud?
Het leven is goed,
Maurice
o- -o -o o- -o -o o- o- o- o- o- -o -o -o -o -o
/) (\ (\ /) (\ (\ /) /) /) /) /) (\ (\ (\ (\ (\
^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^
... Lieve zestien pingu‹ns van de Apocalyps.
--- GNU bash, version 5.2.32(1)-release (x86_64-pc-linux-gnu)
* Origin: Little Mikey's EuroPoint @ (2:280/464.113)
|