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

Re: Script help



On Saturday 25 October 2014, at 20:27 +0100, Joe Dalton wrote:

> joe@joejessie:~/Hentninger/debian$ sh ./ricalcola_desc.sh
> ./ricalcola_desc.sh: 70: ./ricalcola_desc.sh: Syntax error: "(" unexpected
> 
> and tried just to run it. It gave the above message.

Hi,

If I use your same command I get the same error. However if I call the script
like I would normally do simply  with:

~/bin/ddtp$ ./ricalcola_desc.sh

it works normally. Note that I don't use the "sh" at the beginning.

I immagine it is some kind of "bashism" in the script, since I use
/bin/bash as a shell command.

Ciao,

beatrice

Attachment: signature.asc
Description: Digital signature


Reply to: