OS X - how to write to a file associated as a Unix executable

Warren Samples warren at warrensweb.us
Mon Feb 29 19:52:52 EST 2016


On 02/29/2016 06:09 PM, Glen Bojsza wrote:
> This only works IF the file created is associated with the terminal
> application.
>
> The issue is creating the proper file format so when the chmod creates it
> as Unix executable.


Are you saying that saving a file from TextMate and chmoding it works 
but using Terminal and 'print "something-that-will-execute" > 
/output/file' or 'cat /working/file > /working/file-cloned' and chmoding 
that file doesn't?

Warren





More information about the use-livecode mailing list