StanfordMLOctave/machine-learning-ex6/ex6/easy_ham/1064.cc185e02744782aa86371b...

98 lines
4.1 KiB
Plaintext

From exmh-users-admin@redhat.com Tue Sep 10 11:22:51 2002
Return-Path: <exmh-users-admin@example.com>
Delivered-To: yyyy@localhost.example.com
Received: from localhost (jalapeno [127.0.0.1])
by jmason.org (Postfix) with ESMTP id CB57716F03
for <jm@localhost>; Tue, 10 Sep 2002 11:22:50 +0100 (IST)
Received: from jalapeno [127.0.0.1]
by localhost with IMAP (fetchmail-5.9.0)
for jm@localhost (single-drop); Tue, 10 Sep 2002 11:22:50 +0100 (IST)
Received: from listman.example.com (listman.example.com [66.187.233.211]) by
dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g89LNZC32760 for
<jm-exmh@jmason.org>; Mon, 9 Sep 2002 22:23:36 +0100
Received: from listman.example.com (localhost.localdomain [127.0.0.1]) by
listman.redhat.com (Postfix) with ESMTP id 5154A40FB9; Mon, 9 Sep 2002
17:19:07 -0400 (EDT)
Delivered-To: exmh-users@listman.example.com
Received: from int-mx1.corp.example.com (int-mx1.corp.example.com
[172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id ECBC13EB21
for <exmh-users@listman.redhat.com>; Mon, 9 Sep 2002 17:11:23 -0400 (EDT)
Received: (from mail@localhost) by int-mx1.corp.example.com (8.11.6/8.11.6)
id g89LBIJ26810 for exmh-users@listman.redhat.com; Mon, 9 Sep 2002
17:11:18 -0400
Received: from mx1.example.com (mx1.example.com [172.16.48.31]) by
int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g89LBIl26806 for
<exmh-users@redhat.com>; Mon, 9 Sep 2002 17:11:18 -0400
Received: from lin12.triumf.ca
(IDENT:lgb/i4fEP4F7dyc3dKC7OrOBMnt1aqrI@lin12.Triumf.CA [142.90.114.144])
by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g89Kt0129698 for
<exmh-users@redhat.com>; Mon, 9 Sep 2002 16:55:00 -0400
Received: from lin12.triumf.ca (baartman@localhost) by lin12.triumf.ca
(8.11.6/8.11.6) with ESMTP id g89LBH703076 for <exmh-users@redhat.com>;
Mon, 9 Sep 2002 14:11:17 -0700
Message-Id: <200209092111.g89LBH703076@lin12.triumf.ca>
X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4
X-Url: http://www.triumf.ca/people/baartman/
X-Image-Url: http://lin12.triumf.ca/me3.gif
To: exmh-users@example.com
Subject: Re: Sorting
In-Reply-To: <Pine.GSO.4.30L.0209091538070.29646-100000@multics.mit.edu>
References: <Pine.GSO.4.30L.0209091538070.29646-100000@multics.mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: Rick Baartman <baartman@lin12.triumf.ca>
X-Loop: exmh-users@example.com
Sender: exmh-users-admin@example.com
Errors-To: exmh-users-admin@example.com
X-Beenthere: exmh-users@example.com
X-Mailman-Version: 2.0.1
Precedence: bulk
Reply-To: exmh-users@example.com
List-Help: <mailto:exmh-users-request@example.com?subject=help>
List-Post: <mailto:exmh-users@example.com>
List-Subscribe: <https://listman.example.com/mailman/listinfo/exmh-users>,
<mailto:exmh-users-request@redhat.com?subject=subscribe>
List-Id: Discussion list for EXMH users <exmh-users.example.com>
List-Unsubscribe: <https://listman.example.com/mailman/listinfo/exmh-users>,
<mailto:exmh-users-request@redhat.com?subject=unsubscribe>
List-Archive: <https://listman.example.com/mailman/private/exmh-users/>
Date: Mon, 09 Sep 2002 14:11:17 -0700
X-Spam-Status: No, hits=-10.4 required=7.0
tests=AWL,IN_REP_TO,KNOWN_MAILING_LIST,QUOTED_EMAIL_TEXT,
REFERENCES,SPAM_PHRASE_02_03,X_LOOP
version=2.50-cvs
X-Spam-Level:
> On Mon, 9 Sep 2002, Rick Baartman wrote:
> > Is there a way to do a global Sort command?
>
>
> Wanting to sort like that is not common; I'd be surprised if exmh has
> a widget for it. You can achieve what you want with the command-line
> mh tools, though.
> I suggest doing the following from a shell prompt:
>
> sh -c 'for f in "`folders -recurse -fast`" ; do sortm +"$f" ; done'
>
> (The command "sortm" will sort a particular folder, and
> "folders -recurse -fast" prints out a list of all of your folders.)
>
>
Thanks Tom and Jacob. The above works, but without the double quotes: i.e.
sh -c 'for f in `folders -recurse -fast` ; do sortm +"$f" ; done'
I'd attach this command to the sorting menu if I knew any tcl...
--
rick
_______________________________________________
Exmh-users mailing list
Exmh-users@redhat.com
https://listman.redhat.com/mailman/listinfo/exmh-users