syntax error near unexpected token `{

Matthew Woehlke mw_triad@users.sourceforge.net
Wed Feb 14 21:55:00 GMT 2007


petermosca wrote:
> I am attempting to create a bash script with a function definition. When I
> execute the script with the function, I get:
> 
> 'my_bash_script: line 3: syntax error near unexpected token `{".
> 'my_bash_script: line 3: `   {
> 
>  If I type the function in the command line, it works fine.

Judging from your other mail, the answers are:

1. d2u
2. Don't use a broken editor
3. RTFRA and STFLA first.

-- 
Matthew
<insert witty signature here>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list