bashrc configuration question: syntax error: unexpected end of file

2008-12-09 Thread Noah
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 ];

Re: bashrc configuration question: syntax error: unexpected end of file

2008-12-09 Thread Polytropon
On Tue, 09 Dec 2008 13:28:11 -0800, Noah [EMAIL PROTECTED] 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

Re: bashrc configuration question: syntax error: unexpected end of file

2008-12-09 Thread Jerry
On Tue, 09 Dec 2008 13:28:11 -0800 Noah [EMAIL PROTECTED] 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$ Here are the relevant hask configuration files

Re: bashrc configuration question: syntax error: unexpected end of file

2008-12-09 Thread Christopher Cowart
Noah wrote: 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$ cat .bashrc #nc_fix() { sudo kill -9 $(ps auxwww | grep [nN]cproxyd | awk '{print $2}') } nc_fix() { sudo kill -9

Re: bashrc configuration question: syntax error: unexpected end of file

2008-12-09 Thread Noah
Hi there, Christopher Cowart wrote: A couple more things I noticed after looking more closely at your actual command: Christopher Cowart wrote: nc_fix() { sudo kill -9 $(ps auxwww | grep [nN]cproxyd | awk '{print $2}') ^ this is equivalent to:

Re: bashrc configuration question: syntax error: unexpected end of file

2008-12-09 Thread Noah
Hi, Christopher Cowart wrote: Noah wrote: 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$ cat .bashrc #nc_fix() { sudo kill -9 $(ps auxwww | grep [nN]cproxyd | awk '{print $2}')