Do you have the magic shebang line at the top of your script?  I added
it to mine, fixing the problem with a few scripts.  Certainly it's a
problem with bash or some distro's packaging of it, but adding the
magic line fixed it:

#!/bin/bash



On Sep 11, 11:21 am, Loic-externe CHARRE <[EMAIL PROTECTED]>
wrote:
> I have a problement when i execute my script. My script
> works well on other server but on this server when i execute i have this 
> message :
>
> ./GestCompte: TableauRep[1]=rn: command not found
> ./GestCompte:  ${pointeur} ---  ${TableauRep[${pointeur}]} : bad substitution
> free: Called with already freed block argument
>
> Tell [EMAIL PROTECTED] to fix this someday.
> Stopping myself...Abort (core dumped)
> [EMAIL PROTECTED]:/ #

Reply via email to