Subject: Re: make(1) variables: sort and disorder [patch]
To: Mike M. Volokhov <firstname.lastname@example.org>
From: Simon J. Gerraty <email@example.com>
Date: 05/31/2005 16:40:53
Can you add test cases in say unit-tests/order
(you'll need to add order to SUBFILES in unit-tests/Makefile)
On Tue, 31 May 2005 18:14:11 +0300, "Mike M. Volokhov" writes:
>On Mon, 30 May 2005 12:39:05 -0700 (PDT)
>firstname.lastname@example.org (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.