Csh problems

Vulpes Velox kitbsdlists at HotPOP.com
Sat Mar 6 21:15:08 PST 2004


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...


More information about the freebsd-questions mailing list