The executable flag is not related to the presence of the shebang line
It is a courtesy of some smart editors - bbedit on apple does it -  that if 
there is a shebang line 
They save the thing with the executable flag on 

The shebang line is NEEDED only when invoking something by name
So that the shell knows what to do with the content

The shebang line is processed by the shell , so at the end since the .cls files 
Are NOT processed by the shell but by the rexx interpreter , the executable 
flag is IRRELEVANT


Enrico 

As a personal taste I mark them as executables so that when using the finder or 
the ls command they stand out as something different 





> On 13 Mar 2021, at 13:36, P.O. Jonsson <oor...@jonases.se> wrote:
> 
> On some linux installations I noticed that the .cls files were marked as 
> non-executables because they had no shebang line. Since the .cls files 
> contains executable rexx code I think they should have the shebang.
> 
> I compared to ooRexx 4.2 and all samples classes (named .rex at the time ) 
> had a shebang. This is missing in all .cls files currently and it is 
> suggested to change all .cls files to include the chebang.
> 
> Any objections?
> 
> Hälsningar/Regards/Grüsse,
> P.O. Jonsson
> oor...@jonases.se <mailto:oor...@jonases.se>
> 
> 
> 
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel

_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to