bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: but what if the items they wanted to sort were all on one line?


From: Dan Jacobson
Subject: Re: but what if the items they wanted to sort were all on one line?
Date: 25 Feb 2002 03:04:59 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

>>>>> "D" == David Kastrup <David.Kastrup@t-online.de> writes:

D> jidanni@deadspam.com (Dan Jacobson) writes:
>> Of all the sorting commands listed in Info: sort-lines, etc. the
>> likelihood is big one day that a user will come with a line to sort like
>> 2 7 8 12 21 23 15 29 30 36 38.
>> I mean you have several functions ready for users with data in one
>> item per line formats, but none to sort many items on the same
>> line---an indeed common thing one might want to do.  Perhaps one at
>> least could add one solution to the Docs, e.g.
>> 
>> $ echo 2 7 8 12 21 23 15 29 30 36 38|tr \  \\n|sort -n|tr \\n \ 
>> 2 7 8 12 15 21 23 29 30 36 38 0

D> Fill the region with a line width of 1 character, sort, then fill the
D> region with a line width of point-max.

Erm, sounds complicated.  As I was hoping for something that could be
added as advice to the manual, what keystrokes would you advise them
to type?
-- 
http://www.geocities.com/jidanni/ Taiwan(04)25854780



reply via email to

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