From owner-freebsd-questions@FreeBSD.ORG Tue Dec 9 21:28:18 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 4A858106564A for ; Tue, 9 Dec 2008 21:28:18 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.freebsd.org (Postfix) with ESMTP id 38F388FC12 for ; Tue, 9 Dec 2008 21:28:18 +0000 (UTC) (envelope-from admin2@enabled.com) Received: from [172.23.8.177] (nat-service4.juniper.net [66.129.225.151]) (authenticated bits=0) by typhoon.enabled.com (8.14.3/8.14.3) with ESMTP id mB9LSGQa092027 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 9 Dec 2008 13:28:17 -0800 (PST) (envelope-from admin2@enabled.com) Message-ID: <493EE2EB.2070104@enabled.com> Date: Tue, 09 Dec 2008 13:28:11 -0800 From: Noah User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: User Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: bashrc configuration question: syntax error: unexpected end of file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 21:28:18 -0000 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$" ------------ Here are the relevant hask configuration files ------ localhost:~ user$ cat .bash_profile if [ -f ~/.bashrc ]; then source ~/.bashrc fi localhost:~ user$ cat .bashrc #nc_fix() { sudo kill -9 $"(ps auxwww | grep [nN]cproxyd | awk '{print $2}')" } nc_fix() { sudo kill -9 $(ps auxwww | grep "[nN]cproxyd" | awk '{print $2}') } # enable programmable completion features (you don't need to enable # this, if it's already enabled in /etc/bash.bashrc and /etc/profile # sources /etc/bash.bashrc). if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi localhost:~ user$ --- snip --- Cheers, Noah