tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Ordering of sh(1) pathname expansion



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?


Home | Main Index | Thread Index | Old Index