dpecka | 2 Jun 2010 11:44
Picon

Re: yet another sunsolve today's (31.5.2010) hang up?

On Wed, 2010-06-02 at 11:19 +0200, dpecka wrote:
> the usage could be as follows:
> 
> --asort %{key} :ascending sort by key
> --dsort %{key} :descending sort by key
> --esort "{$sort_expression},%{key}" :perl sort() expressions including
> brackets {} and coma separated  %{key}
> 
> example:
> 
> -Hl total  --{a,d}sort "%a" --format="%p-%c %y"
> 
> regards martin, daniel
> 

ps. regardly to my suggestion and example above i have in my own patch
checking script the code like this (modified):

pca -Hl total --format="%a %p-%c %y" | perl -e '
push  <at> foo, $_ while(<>);
do { s/^\s*\d+\s+//; print; } foreach sort {$a <=> $b}  <at> foo;'

^^ this would work same as in my example ..

regards, daniel

--

-- 
Best Regards / S Pozdravem

Daniel Pecka
(Continue reading)


Gmane