On Sun, Mar 09, 2008 at 03:28:46AM -0500, Mike Frysinger wrote: > On Sunday 09 March 2008, Robert Schwebel wrote: > > If one of the variables expands to nothing, the test(1) calls see the > > wrong syntax. It is good shell praxis to either use > > > > [ "$FOO" = "bar" ] > > for random variables, yes. for builtins that expand to numbers, no.
Ok, right. Will rework. > > [ x$FOO = xbar ] > > which breaks if FOO contains whitespace. That's why I've chosen the other variant. > > here; this patch changes the file to use the first variant. > > i dont see any point since all the variables in question are numeric in nature Hmm, I was a little bit fast, the issue I was trying to fix is still there; corrected patch follows. Robert -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hannoversche Str. 2, 31134 Hildesheim, Germany Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
