Holger Levsen
Mon, 02 Oct 2006 03:24:50 -0700
Hi,
On Monday 02 October 2006 11:25, you wrote:
> > if [ X$action = Xdirinst ]; then
>
> This is normal shell coding practice. It helps if $action is not defined
> at all. Then the test without quotes "" around an undefined variable
> will give a syntax error.
Ah :)
But isn't
if [ "$action" = "dirinst" ]; then
the same and easier to read?
regards,
Holger
pgpJlIpVmOI3c.pgp
Description: PGP signature