From owner-freebsd-questions Wed Sep 27 7:52:27 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta01-svc.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41]) by hub.freebsd.org (Postfix) with ESMTP id 8676537B422 for ; Wed, 27 Sep 2000 07:52:21 -0700 (PDT) Received: from parish ([62.253.85.30]) by mta01-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000927145216.UKPG16640.mta01-svc.ntlworld.com@parish>; Wed, 27 Sep 2000 15:52:16 +0100 Received: (from mark@localhost) by parish (8.11.0/8.11.0) id e8REr5F96554; Wed, 27 Sep 2000 15:53:05 +0100 (BST) (envelope-from mark) Date: Wed, 27 Sep 2000 15:53:04 +0100 From: Mark Ovens To: Odhiambo Washington Cc: freebsd-questions@freebsd.org Subject: Re: BASH Message-ID: <20000927155304.D6204@parish> References: <20000927173720.A52292@siafu.iconnect.co.ke> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20000927173720.A52292@siafu.iconnect.co.ke>; from wash@iconnect.co.ke on Wed, Sep 27, 2000 at 05:37:20PM +0300 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Sep 27, 2000 at 05:37:20PM +0300, Odhiambo Washington wrote: > I am attempting to use bash (I am only familiar with csh so far). > Everytime I login I get the the following message: > > 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). > FreeBSD 4.1-STABLE (ALOUETTE) #0: Fri Sep 22 23:01:54 EAT 2000 > I 've done man bash but came out empty-handed (or I was blind!) > Any help from out there appreciated > > Wash > -- > Odhiambo Washington > Systems Administrator > Inter-Connect Ltd. > 3rd Flr The Chancery > Valley Rd > PO Box 39519 Nairobi > Tel: 254 2 711140 > Fax: 254 2 718418 > > You always have to give up something you want for something you want more. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- 4.4 - The number of the Beastie ________________________________________________________________ 51.44°N FreeBSD - The Power To Serve http://www.freebsd.org 2.057°W My Webpage http://ukug.uk.freebsd.org/~mark mailto:marko@freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message