From owner-freebsd-questions@FreeBSD.ORG Sat Mar 6 21:15:08 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 536AA16A4CE for ; Sat, 6 Mar 2004 21:15:08 -0800 (PST) Received: from lakemtao07.cox.net (lakemtao07.cox.net [68.1.17.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id B833743D2F for ; Sat, 6 Mar 2004 21:15:07 -0800 (PST) (envelope-from kitbsdlists@HotPOP.com) Received: from vixen42 ([68.109.49.234]) by lakemtao07.cox.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with SMTP id <20040307051506.GYXI12901.lakemtao07.cox.net@vixen42> for ; Sun, 7 Mar 2004 00:15:06 -0500 Date: Sat, 6 Mar 2004 21:12:13 -0600 From: Vulpes Velox To: freebsd-questions@freebsd.org Message-Id: <20040306211213.185ea1df@vixen42.> X-Mailer: Sylpheed version 0.9.9claws (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Csh problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Mar 2004 05:15:08 -0000 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...