Date: Wed, 27 Sep 2000 15:55:25 +0100 From: Daniel Bye <Daniel.Bye@uk.uu.net> To: 'Alan Clegg' <abc@bsdi.com>, Odhiambo Washington <wash@iconnect.co.ke>, freebsd-questions@freebsd.org Subject: RE: BASH Message-ID: <FB7CAC781DB6D311BEE800805FE6FADA2F4C13@camexch4.cam.uk.internal>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FB7CAC781DB6D311BEE800805FE6FADA2F4C13>