[Omake] Command syntax

Dmitry Bely dmitry.bely at gmail.com
Mon Jun 12 08:40:10 PDT 2006


On 6/12/06, Benjamin Pierce <bcpierce at cis.upenn.edu> wrote:
> > chmod is an internal Omake function that does not have -w flag. See
> >
> > http://omake.metaprl.org/omake-system.html#chapter:system
>
> That part I understand.  But I don't understand why chmod parses this
> way while echo (according to the documentation) seems to parse a
> different way.

Just because the "chmod" shell command is defined in Pervasives.om
while "shell" is already an internal shell command. BTW, if you need
an external command, use the following form:

"chmod" -w foo

(or define USE_SYSTEM_COMMANDS)

- Dmitry Bely


More information about the Omake mailing list