In sh(1) pathname expansion, the pattern doesn't constrain ordering,
only inclusion criteria.  It appears that NetBSD's sh(1) always sorts
lexicographically with strcmp(3), however.

1. Does POSIX sh guarantee strcmp(3) lexicographic ordering?

2. Does NetBSD sh(1) guarantee strcmp(3) lexicographic ordering?

3. Should the sh(1) man page be amended to specify the order?

Reply via email to