On 19 January 2018 at 16:02, Viktor Dukhovni <postfix-us...@dukhovni.org> wrote:
>
>
>> On Jan 19, 2018, at 10:58 AM, Dominic Raferd <domi...@timedicer.co.uk> wrote:
>>
>>> The pipes to "sort" should not be needed.  The output of "postconf" is 
>>> pre-sorted.
>>
>> yes I thought that - but without piping through sort I see:
>> $ comm -1 -2 <(postconf -n) <(postconf -d)
>> comm: file 2 is not in sorted order
>> comm: file 1 is not in sorted order
>
> Perhaps your locale sorts "_" the output differently than the C locale.
> Does the issue go away with:
>
>         export LC_COLLATE=C

Ah yes it does. On my system LC_COLLATE is normally undefined. This
avoids the unwanted messages:

LC_COLLATE=C comm -1 -2 <(postconf -n) <(postconf -d)

Reply via email to