Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2000 10:57:34 -0400
From:      Alan Clegg <abc@bsdi.com>
To:        Odhiambo Washington <wash@iconnect.co.ke>, freebsd-questions@freebsd.org
Subject:   Re: BASH
Message-ID:  <20000927105734.H85369@diskfarm.firehouse.net>
In-Reply-To: <20000927155304.D6204@parish>; from marko@freebsd.org on Wed, Sep 27, 2000 at 03:53:04PM %2B0100
References:  <20000927173720.A52292@siafu.iconnect.co.ke> <20000927155304.D6204@parish>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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