bashrc configuration question: syntax error: unexpected end of file

Polytropon freebsd at
Tue Dec 9 13:59:28 PST 2008

On Tue, 09 Dec 2008 13:28:11 -0800, Noah <admin2 at> wrote:
> Hi there,
> I am unable to figure out why I am getting the following error: "-bash: 
> /Users/user/.bashrc: line 10: syntax error: unexpected end of file
> localhost:~ user$"

The only thing that comes into my mind is this line from
your .bash_profile:

>       source ~/.bashrc

I'm not sure, but according to the builtin manpage, sh
does not understand "source", so maybe bash doesn't, too?
For file inclusion, "." is the correct form as it occurs
in your .bashrc file.

By the way, it would be good if you would include line
numbers, using "cat -n <filename>". :-)

>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list