Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Help with a simple script
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="dgcrane" data-source="post: 1525672" data-attributes="member: 306529"><p>oops, that was my fault... I didn't know is was case sensitive. I have tried to execute twice more :</p><p></p><p>./Last login: Thu Jul 11 20:20:47 on ttys000</p><p>mac-mini:~ gena_mak$ ./SqueezePlay.sh</p><p>./SqueezePlay.sh: line 1: {rtf1ansiansicpg1252cocoartf1038cocoasubrtf360: command not found</p><p>./SqueezePlay.sh: line 2: syntax error near unexpected token `}'</p><p>./SqueezePlay.sh: line 2: `{\fonttbl\f0\fmodern\fcharset0 Courier;}'</p><p></p><p>mac-mini:~ gena_mak$ ./SqueezePlay.sh</p><p>./SqueezePlay.sh: line 1: {rtf1ansiansicpg1252cocoartf1038cocoasubrtf360: command not found</p><p>./SqueezePlay.sh: line 2: syntax error near unexpected token `}'</p><p>./SqueezePlay.sh: line 2: `{\fonttbl\f0\fmodern\fcharset0 Courier;}'</p><p>mac-mini:~ gena_mak$ </p><p></p><p>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.</p><p></p><p>Darren</p></blockquote><p></p>
[QUOTE="dgcrane, post: 1525672, member: 306529"] 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]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Help with a simple script
Top