At 23:26 -0700 7/20/11, TJ Luoma wrote:
>The manual (pdf page 304) says
>
>> Additionally, to execute scripts anywhere outside of BBEdit (e.g. in the 
>> Terminal), the system requires that the script file have 'execute' 
>> permissions set. Thus, when you first save any script file which contains a 
>> shebang (#!) line, BBEdit will automatically set execute permissions for 
>> your login account (a+x, as modified by the umask) on that file.
>>
>
>The problem is that doesn't seem to happen for me. #! scripts get
>saved as the same as text files. (I'm not on a file vault.)
>
>I created a file like this:
>
>#!/bin/bash
>
>echo 'hello world'
>
>exit 0
>
>and saved it as "testtj.sh" but then when I check the permissions:
>
>% ls -l testtj.sh
>-rw-r--r-- 1 luomat 41 Jul 21 02:23 testtj.sh
>
>(My umask is '022')
>
>bb10 on Lion on a MacBook Air


That may well be an Apple Inc. problem.  Try setting an execute bit using 
Finder. Last I looked it was quite impossible. I'm forever chmod +x ing my perl 
scripts.

But what's worse:  Try making a BBEdit worksheet executable the way I do it 
with MPW.

-- 
1801 - Joseph Marie Jacquard uses punch cards to instruct a loom to weave 
"hello, world" into a tapestry.

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to