Subject: Re: make(1) variables: sort and disorder [patch]
To: Mike M. Volokhov <mishka@apk.od.ua>
From: Simon J. Gerraty <sjg@crufty.net>
List: tech-userlevel
Date: 05/31/2005 16:40:53
Looks good.

Can you add test cases in say unit-tests/order
(you'll need to add order to SUBFILES in unit-tests/Makefile)

Thanks
--sjg

On Tue, 31 May 2005 18:14:11 +0300, "Mike M. Volokhov" writes:
>On Mon, 30 May 2005 12:39:05 -0700 (PDT)
>sjg@crufty.net (Simon J. Gerraty) wrote:
>
>> >To change this behaviour, I've modified make(1) program to provide a
>> >new variable modifier (:X) which is designed to disorder all words in
>> >variable, opposite to :O. For example:
>> 
>> This is a very interesting idea - the patch is a bit hard to read due to
>> the transport encoding.  One suggestion up front though.
>> 
>> Rathere than add a new option :X, turn allow :O to take an optional 2nd
>> flag - eg. 
>> :O	ordered
>> :Or	reversed
>> :Ox	random
>> 
>> or something like that.
>
>Done. Please take a look to the patch (below) and thanks for the advice.