From owner-freebsd-questions Wed Sep 27 7:56:38 2000 Delivered-To: freebsd-questions@freebsd.org Received: from diskfarm.firehouse.net (rdu25-12-043.nc.rr.com [24.25.12.43]) by hub.freebsd.org (Postfix) with ESMTP id 27D1E37B422 for ; Wed, 27 Sep 2000 07:56:36 -0700 (PDT) Received: (from abc@localhost) by diskfarm.firehouse.net (8.9.3/8.9.3) id KAA94407; Wed, 27 Sep 2000 10:57:34 -0400 (EDT) (envelope-from abc) Date: Wed, 27 Sep 2000 10:57:34 -0400 From: Alan Clegg To: Odhiambo Washington , freebsd-questions@freebsd.org Subject: Re: BASH Message-ID: <20000927105734.H85369@diskfarm.firehouse.net> Mail-Followup-To: Alan Clegg , Odhiambo Washington , freebsd-questions@freebsd.org References: <20000927173720.A52292@siafu.iconnect.co.ke> <20000927155304.D6204@parish> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <20000927155304.D6204@parish>; from marko@freebsd.org on Wed, Sep 27, 2000 at 03:53:04PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Unless the network is lying to me again, Mark Ovens said: > On Wed, Sep 27, 2000 at 05:37:20PM +0300, Odhiambo Washington wrote: > > bash: /usr/home/admin/.bash_profile: line 140: syntax error: unexpected > > end of file > > When I use vi line 140 is the last line of .bash_profile > It's because there is no linefeed at the end of line 140. Many programs do > this (I suspect that the (C) function that reads the line can't do so if > there is no terminating LF). I'd guess that it is a missing end of an 'if', 'while' or 'case' type construct. AlanC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message