kaos@jenna Lua $ test "Xlua.c" -ne "X" -bash: test: Xlua.c: integer expression expected
FYI, all occurences of "test" on my machine use "!=", which is the correct way to compare strings (at least on bash).
True, -ne is for arithmetic comparison.
/ Henrik Grubbström (Lysator)
Previous text:
2004-08-10 17:24: Subject: Re: Fail to build Module modref
kaos@jenna Lua $ test "Xlua.c" -ne "X" -bash: test: Xlua.c: integer expression expected
FYI, all occurences of "test" on my machine use "!=", which is the correct way to compare strings (at least on bash).
-- Bertrand LUPART Linkeo.com - R&D | http://www.linkeo.com/ +33 1 72 71 71 82 | 17, rue de la Banque - F75002 Paris Systèmes de gestion d'email entrant | Email management systems
/ Brevbäraren