From owner-freebsd-questions@FreeBSD.ORG Tue Dec 9 21:59:28 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 110A81065672 for ; Tue, 9 Dec 2008 21:59:28 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id C7A288FC13 for ; Tue, 9 Dec 2008 21:59:27 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-75-140.dynamic.qsc.de [92.196.75.140]) by mx01.qsc.de (Postfix) with ESMTP id 945CA3CCA6; Tue, 9 Dec 2008 22:59:12 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id mB9Lx9Zi002067; Tue, 9 Dec 2008 22:59:09 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 9 Dec 2008 22:59:08 +0100 From: Polytropon To: Noah Message-Id: <20081209225908.cba4bec0.freebsd@edvax.de> In-Reply-To: <493EE2EB.2070104@enabled.com> References: <493EE2EB.2070104@enabled.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: User Questions Subject: Re: bashrc configuration question: syntax error: unexpected end of file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 21:59:28 -0000 On Tue, 09 Dec 2008 13:28:11 -0800, Noah 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 ". :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...