why test(1) works with -eq but not -nq ?

Joost Bekkers joost at jodocus.org
Wed Apr 21 07:30:50 PDT 2004


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 at jodocus.org


More information about the freebsd-questions mailing list