From owner-freebsd-questions Wed Sep 27 8: 1:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from boat.mail.pipex.net (our.mail.pipex.net [158.43.128.75]) by hub.freebsd.org (Postfix) with SMTP id 9654437B422 for ; Wed, 27 Sep 2000 08:01:18 -0700 (PDT) Received: (qmail 6021 invoked from network); 27 Sep 2000 15:01:16 -0000 Received: from mailhost.puck.pipex.net (HELO mailhost.uk.internal) (194.130.147.54) by our.mail.pipex.net with SMTP; 27 Sep 2000 15:01:16 -0000 Received: (qmail 4606 invoked from network); 27 Sep 2000 15:01:14 -0000 Received: from camgate2.cam.uk.internal (172.31.6.21) by mailhost.uk.internal with SMTP; 27 Sep 2000 15:01:14 -0000 Received: by camgate2.cam.uk.internal with Internet Mail Service (5.5.2650.21) id ; Wed, 27 Sep 2000 16:00:23 +0100 Message-ID: From: Daniel Bye To: 'Alan Clegg' , Odhiambo Washington , freebsd-questions@freebsd.org Subject: RE: BASH Date: Wed, 27 Sep 2000 15:55:25 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Could even be a missing quote in an alias definition, or a missing back-tick in a command substitution. Without seeing the file, there's no way to be sure - it could be one of several things. Dan > -----Original Message----- > From: Alan Clegg [mailto:abc@bsdi.com] > Sent: Wednesday, September 27, 2000 3:58 PM > To: Odhiambo Washington; freebsd-questions@freebsd.org > Subject: Re: BASH > > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message