From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Raimund.Kohl@freenet.de Newsgroups: gmane.emacs.help Subject: M-x sort-fields Date: Thu, 21 Nov 2002 23:24:15 +0000 (GMT) Sender: help-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1037917615 21610 80.91.224.249 (21 Nov 2002 22:26:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 21 Nov 2002 22:26:55 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Ezmd-0005c8-01 for ; Thu, 21 Nov 2002 23:26:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18Ezo6-0007jw-00; Thu, 21 Nov 2002 17:28:22 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18EznE-0006qU-00 for help-gnu-emacs@gnu.org; Thu, 21 Nov 2002 17:27:28 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18EznA-0006gf-00 for help-gnu-emacs@gnu.org; Thu, 21 Nov 2002 17:27:27 -0500 Original-Received: from mout1.freenet.de ([194.97.50.132]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18Ezn9-0006ey-00 for help-gnu-emacs@gnu.org; Thu, 21 Nov 2002 17:27:24 -0500 Original-Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout1.freenet.de with esmtp (Exim 4.10) id 18Ezn4-0003eD-00 for help-gnu-emacs@gnu.org; Thu, 21 Nov 2002 23:27:18 +0100 Original-Received: from a778e.pppool.de ([213.6.119.142] helo=laptop.rkc) by mx1.freenet.de with esmtp (Exim 4.10 #1) id 18Ezn3-0007Kc-00 for help-gnu-emacs@gnu.org; Thu, 21 Nov 2002 23:27:18 +0100 Original-Received: by laptop.rkc (Postfix on SuSE Linux 8.0 (i386), from userid 500) id 6A6F83123F; Thu, 21 Nov 2002 23:24:16 +0000 (GMT) Original-Received: from localhost (localhost [127.0.0.1]) by laptop.rkc (Postfix on SuSE Linux 8.0 (i386)) with ESMTP id 3E38330565 for ; Thu, 21 Nov 2002 23:24:16 +0000 (GMT) X-X-Sender: ray@laptop.rkc Original-To: emacs mailing list Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3844 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3844 Hello, I do have files with coloumns of either text or digits and want to sort them by date. How do I do that? If I use M-x sort-field it doesn't accept a numeric argument ... at least not the way I try to put it in. Here an example: blahblah & 12.2. & 132,40 & 10,20 blubblub & 15.5. & 15,40 & 2,23 bleblebb & 1.4. & 10,00 & 1,00 I want to sort the lines according the date of the third column (given the "&" sign is a column of it's own). If I understood the manual correctly I am to mark the "b" of the first line and the "0" of the last line and then command M-x sort-fields with the column as a numeric argument to which it all lines shall become sorted. Anybody to help me here? Thank you in advvance ray