Re: Help - Getting lots of errors from functions and scripts
On Mon, Dec 22, 2008 at 08:09:31AM -0600, Dennis Wicks wrote:
> Greetings;
>
> When I run anything that is actually a shell script starting with
> #!/bin/sh and maybe any thing that uses a shell function I get five or
> six screens full of messages that look like the following and all start
> with /bin/sh
>
> /bin/sh: _openssl: line 25: syntax error near
> `unexpected token `('
> /bin/sh: _openssl: line 25: ` -@(in|out|oid))'
> /bin/sh: error importing function definition for
> `_openssl'
> /bin/sh: _service: line 4: syntax error in
> conditional expression: unexpected token `('
> /bin/sh: _service: line 4: syntax error near `@(*'
> /bin/sh: _service: line 4: ` [[ ${COMP_WORDS[0]} !=
> @(*init.d/!(functions|~)|service) ]] && return 0;'
When you run it? Or when you press tab?
--
Tzafrir Cohen | tzafrir@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir@cohens.org.il | | best
ICQ# 16849754 | | friend
Reply to: