View Single Post
dgcrane

 
Member Since: Jul 11, 2013
Posts: 4
dgcrane is on a distinguished road

dgcrane is offline
oops, that was my fault... I didn't know is was case sensitive. I have tried to execute twice more :

./Last login: Thu Jul 11 20:20:47 on ttys000
mac-mini:~ gena_mak$ ./SqueezePlay.sh
./SqueezePlay.sh: line 1: {rtf1ansiansicpg1252cocoartf1038cocoasubrtf360: command not found
./SqueezePlay.sh: line 2: syntax error near unexpected token `}'
./SqueezePlay.sh: line 2: `{\fonttbl\f0\fmodern\fcharset0 Courier;}'

mac-mini:~ gena_mak$ ./SqueezePlay.sh
./SqueezePlay.sh: line 1: {rtf1ansiansicpg1252cocoartf1038cocoasubrtf360: command not found
./SqueezePlay.sh: line 2: syntax error near unexpected token `}'
./SqueezePlay.sh: line 2: `{\fonttbl\f0\fmodern\fcharset0 Courier;}'
mac-mini:~ gena_mak$

Once with set -x on the same line as #!/bin/bash and once below because I didn't know if it made a difference... results were the same. I believe its called textedit on the mac to create the file.

Darren
QUOTE Thanks