Date:Tue, 31 Jan 2023 02:29:02 +
From:Taylor R Campbell
Message-ID: <20230131022904.a3a4b60...@jupiter.mumble.net>
| In sh(1) pathname expansion, the pattern doesn't constrain ordering,
| only inclusion criteria. It appears that NetBSD's sh(1) always sorts
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
ignat...@cs.uni-bonn.de wrote:
> hi,
>
> On Sun, Jan 29, 2023 at 05:45:15PM -0500, Jan Schaumann wrote:
>
> > +* sfxlen by one, thereby yielding an additional two characters
> > +* and allowing all output files to sort such that 'cat *' yields
> > +* the input in order. I.e., the ord
hi,
On Sun, Jan 29, 2023 at 05:45:15PM -0500, Jan Schaumann wrote:
> + * sfxlen by one, thereby yielding an additional two characters
> + * and allowing all output files to sort such that 'cat *' yields
> + * the input in order. I.e., the order is '... xyy xyz xzaaa
This recipe t