At 01:19 AM 3/20/2006, you wrote:
>Lines that differ only in case are not sorted, but then the search for duplicate line is case insensitive, so it deletes them anyway.
By default, I want a case-insensitive operation. As far as I can tell, lines which differ only in case get deleted, as I want.
A primary use of this macro is to sort email lists.
I suppose the macro could check {CONFIG, Search, Case sensitive} option and
adjust both the Sort() and Search() commands accordingly.
>I would do a sort with NOCOLLATE, and include CASE in the Search, possibly doing an ordinary sort after, so it looks OK to the user.
This seems subjective. Europeans languages prefer umlaut vowels sorted after normal vowels, which requires a Collate table.
Yes, the Tab-versus-Space character sort/collate issue is confusing, but there is no way to please everyone. Hence we have collate tables.
I think the only solution is a more complex macro with a dialog box which allows selecting various options.
Ted.
Ted.
-------------------------------------------------------------------------
Ted Green (ted@...) Greenview Data, Inc.
Web: www.... Fax: 734-996-1308 PO Box 1586, Ann Arbor, MI 48106
Tel: (734) 996-1300 Desk: 734-369-3550 VEDIT - Text/Data/Binary Editor
-------------------------------------------------------------------------
www.SpamStopsHere.com ranked #1 in accuracy by Network Computing Magazine
|
|