[BusyBox] how to do "[ $? -eq 1 ] && echo equal"

Matthias Fuchs matthias.fuchs at esd-electronics.com
Wed Apr 11 11:49:46 UTC 2001


Hi,

is there already a possibility to do a "execute on test" ? I want to
start an application, if
a condition is true. But how can I start an application conditionally ?

The example in the subject interprets the && as the background-job-& !
Is the busybox syntax differnet or is there a tricky workaround ?

Matthias

-- 
-------------------------------------------------
\ Matthias Fuchs                                 \
 \ esd electronic system design Gmbh              \
  \ Vahrenwalder Straße 205                        \
   \ D-30165 Hannover                               \
    \ email: matthias.fuchs at esd-electronics.com      \
     \ phone: +49-511-37298-0                         \
      \ fax:   +49-511-37298-68                        \
       --------------------------------------------------





More information about the busybox mailing list