Search This Blog

Tuesday, July 14, 2020

Sorted... well not quite

The code that the Gorse Fox has been working on has thrown up a surprise. It creates an intermediate work file. This file is then processed by the "sort" command in the host environment. The problem is that the sort on MAC and on Linux come up with totally different sequences. This, apparently, can be a by-product of the "Locale" setting. In this case, however, both are set identically. The Gorse Fox thinks that it may require Plan B, or C. One of which is to internalise the whole process so it is handled with Rexx, the other is to write a cross-system sort that uses an identical sort sequence (which he really doesn't want to do).

Tomorrow should be fun!

No comments: