Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 2004 16:30:44 +0200
From:      Joost Bekkers <joost@jodocus.org>
To:        Ion-Mihai Tetcu <itetcu@apropo.ro>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: why test(1) works with -eq but not -nq ?
Message-ID:  <20040421143044.GA54104@bps.jodocus.org>
In-Reply-To: <20040421170914.5a5204a3@it.buh.cameradicommercio.ro>
References:  <20040421170914.5a5204a3@it.buh.cameradicommercio.ro>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 21, 2004 at 05:09:14PM +0300, Ion-Mihai Tetcu wrote:
> # if [ "`cat ports_sup_log | wc -l`" -nq "3" ]; then echo 'da'; fi

I think you mean -ne instead of -nq

-- 
greetz Joost
joost@jodocus.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040421143044.GA54104>