Hi,

In the test manual for the 'test' command, it states that:
"INTEGER may also be -l STRING, which evaluates to the length of STRING"
and even in the info page it gives an example of:

test -l abc -gt 1 && echo yes

but that command, as well as any in scripts, reports an error of:

bash: test: -l: unary operator expected

This has been the case since as far back as least the summer of 2009 when after I shortly started using a Linux Operating System - that was PCLinuxOS back then, but now I am using openSUSE in the past year (currently version 11.4 KDE).

Regards,
Clifton