bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

two patches - "-sort" and "-dirslast"


From: henner sudek
Subject: two patches - "-sort" and "-dirslast"
Date: Wed, 28 May 2003 02:01:37 +0200
User-agent: KMail/1.5.2

Hi,
I just tried to upload two patches to savannah but I could not add a proper 
description there, so I just send them to this mailingslist. Maybe someone 
can add a description field to the patch submission interface.


- add options "-sort" and "-isort" that produce sorted output. will also 
enable the locatedb to have newlines in filenames and eliminates the need to 
call "sort" in updatedb. Please note that the patch currently does not use 
lexical (respecting the current locale) sorting 
- add the option "-dirslast" to process subdirs after non-subdirs, this makes 
the output from locate more readable(depends on the patch for sorting)

henner sudek
-- 
%!
99 99 scale/x 2 -.01 -2{def/y 2 -.01 -2{def y x 1 -.01 0{setgray 2 copy 2 mul 
mul y add 3 1 roll 2 exp exch 2 exp 2 copy add 4 gt{exit}if sub x add}for 
clear x y 2 2 rectfill/y}for/x}for copypage

Attachment: dirslast-0.2.patch
Description: Text Data

Attachment: sort-0.5.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]