Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Mar 2004 21:12:13 -0600
From:      Vulpes Velox <kitbsdlists@HotPOP.com>
To:        freebsd-questions@freebsd.org
Subject:   Csh problems
Message-ID:  <20040306211213.185ea1df@vixen42.>

next in thread | raw e-mail | index | archive | help
Where is a good place to get info on csh?


Trying to put together a back ground changing script... have it all
the way done for the most part except for the part that handles some
of the extra switches... The error I am getting is "3: Command not
found."


set loop="1"
set loopnum="1"
set numofargs=$#
while $loop == "1"

    if $loopnum >= $numofargs then
        set loop="0"
    endif

    set loopnum=`expr $loopnum + 1`
end


Any ideas? I've been reading thought the man for csh and not finding
any thing useful except this should work...



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