[Omake] Command syntax

Benjamin Pierce bcpierce at cis.upenn.edu
Mon Jun 12 07:07:49 PDT 2006


According to my reading of the documentation...

>
> While it is possible to give a precise specification of shell  
> commands, the informal description is simpler. Any non-empty  
> statement where each prefix is not one of the other statements, is  
> considered to be a shell command. Here are some examples.
>     ls                                 -- shell command
>     echo Hello world > /dev/null       -- shell command
>     echo(Hello world)                  -- function application

... this should be a legal shell command:

> foobar:
>   chmod -w foo

But it fails in a surprising and (until I realized what must be  
happening) puzzling way:

> omake foobar
> *** omake: reading OMakefiles
> *** omake: finished reading OMakefiles (0.4 sec)
> - build . foobar
> + chmod -w foo
> *** omake error:
>    Lm_arg.BogusArg("No such option: -w")

Is this a bug in OMake, the documentation, or my brain?

    - B


More information about the Omake mailing list