[Omake] file predicate documentation error?

Prashanth Mundkur prashanth.mundkur at gmail.com
Sun Jan 25 19:31:39 PST 2009


According to the documentation for test():

-s file : The file is empty

But the behaviour is exactly the opposite: -s returns false for empty
files, and true for non-empty files.  This is consistent with the
source, which uses is_nonempty_file to implement -s.

This seems like a documentation error.

Cheers,

--prashanth


More information about the Omake mailing list