Patrys :: Patryk Zawadzki wrote: > Dnia 30-08-2005, wto o godzinie 01:37 +0200, Jakub Piotr C=B3apa > napisa=B3(a): > > Patrys :: Patryk Zawadzki wrote: > > > Here it looks like pure cosmetics (no execution prior to testing $?) bu= > t > > > it is more convenient to save it so if one adds one more instruction in > > > the conditional block it continues to work. > > That's what I though (but OTOH I changed it after getting a syslog=20 > > message that the loading failed with code 0). > >=20 > > The comparison ([) is not changing $? because it is builtin? > > And what if a standalone version of [ was used? > > Well I believe it depends on the shell used. Or maybe on the ammount of > coffee I am lacking at the moment.
The script is executed using /bin/sh. Our /bin/sh support built-in [. -- ======================================================================= Andrzej M. Krzysztofowicz [EMAIL PROTECTED] phone (48)(58) 347 14 61 Faculty of Applied Phys. & Math., Gdansk University of Technology _______________________________________________ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en