On Fri, 6 Jan 2017 10:23:06 +1100 "dandl" <da...@andl.org> wrote:
> Unix globbing for Linux is defined here: > http://man7.org/linux/man-pages/man7/glob.7.html. AFAICT Sqlite does > not implement this behaviour. A quick scan of SQLite sources shows only references to the glob function, no implementation. In func.c, we find LIKEFUNC(glob, 2, &globInfo, SQLITE_FUNC_LIKE|SQLITE_FUNC_CASE), It looks to me like SQLite imports glob(3) as its default implementation. Have you an example for which a glob pattern behaves differently in SQLite versus C? (For those following along at home, bear in mind that glob(3) need not necessarily be what your favorite shell uses.) If indeed SQLite is using the glob function from libc, ISTM it's perfectly sufficient to refer to glob(7) for syntax, since that's the documentation for the controlling implementation. --jkl _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users