[Omake] Re: Announcing OMake 0.9.8

David Kågedal davidk at lysator.liu.se
Tue Dec 12 01:28:20 PST 2006


Michael Vanier <mvanier at cs.caltech.edu> writes:

> Follow-up.  In osh:
>
> % Shell.rm(main/*.o)
> *** omake error:
>    File -: line 1, characters 0-18
>    unlink(/home/mvanier/proj/src/main/*.o): No such file or directory
> % Shell.rm(-f main/*.o)
>
> and the *.o files in the main subdirectory don't get removed.
>
> So it looks like the file glob is being taken literally, and is failing silently.

This is from the release notes:

      + The Shell. aliases will now receive the values passed on the
        shell command line as is, not the string-expanded version. Also,
        if some of the arguments are the result of a glob-expansion, the
        alias function will receive the appropriate file values, not the
        strings.

The problem is that it's hard to understand what the second sentence
means.  Who does the glob expansion, and when?

-- 
David Kågedal



More information about the Omake mailing list