From owner-freebsd-current@FreeBSD.ORG Mon Apr 14 08:12:58 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1189737B401 for ; Mon, 14 Apr 2003 08:12:58 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id C591043FA3 for ; Mon, 14 Apr 2003 08:12:56 -0700 (PDT) (envelope-from andreas-moeller@gmx.net) Received: (qmail 836 invoked by uid 65534); 14 Apr 2003 15:12:55 -0000 Received: from pD9E21A47.dip.t-dialin.net (EHLO gmx.net) (217.226.26.71) by mail.gmx.net (mp023-rz3) with SMTP; 14 Apr 2003 17:12:55 +0200 Message-ID: <3E9ACFF4.6090503@gmx.net> Date: Mon, 14 Apr 2003 17:12:52 +0200 From: =?ISO-8859-1?Q?Andreas_M=F6ller?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030330 X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: Scott Dodson References: <000901c30237$8bf80550$c02aa8c0@rage> In-Reply-To: <000901c30237$8bf80550$c02aa8c0@rage> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: Unexpected for X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2003 15:12:58 -0000 Scott Dodson wrote: > > I've recently cvsupped and now none of the system scripts work. Everytime > one of them is run it gives an error "unexpected for". It seems that my sh > cannot handle for? I've rebuild it from the source in the tree and > reinstalled it, yet nothing works. Any ideas why? I had the same problem a couple of days ago. I took the next best bourne compatible shell installed on my system (in my case bash2 from ports), moved it to /bin/sh, then booted into multi-user, cvsup'ed to the latest sources and eventually rebuilt and reinstalled /bin/sh. -Andreas