[REBOL] Re: [AWK GREP] AWK and GREP funcs, arg order
From: anton::wilddsl::net::au at: 20-May-2007 2:09
It depends on the user.
For myself, I found the opposite, that I was often using the
same filename pattern (*.r) as a rebol developer,
and looking for different contents.
But I can certainly imagine particular contents patterns being
reused often in other usage scenarios.
Given this ambiguity, I would favour putting the higher-level
Wouldn't it be nice if we could swap the order of arguments
somehow ? eg.
rawk file-pattern contents-pattern
rawk swap contents-pattern file-pattern
where SWAP changes the order of the arguments to suit
RAWK's preferred order.
(Actually, we should put everything into an associative
database, then the above problems do not exist.)