[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash functions



On Fri, 7 May 1999 blutgens@mosquitonet.com wrote:
> While doing some reading, I came across a section regarding adding functions
> to .bash_profile like this 
> tarc () { tar -cvzf $1.tar.gz $1 }
> but whenever I try to source the .bash_profile I get syntax error, unexpected
> EOF messages. 

Just move the close brace down to the next line and it works for me.

Havoc



Reply to: