From exmh-users-admin@redhat.com Tue Sep 10 11:23:18 2002 Return-Path: Delivered-To: yyyy@localhost.example.com Received: from localhost (jalapeno [127.0.0.1]) by jmason.org (Postfix) with ESMTP id D2AFA16F03 for ; Tue, 10 Sep 2002 11:23:17 +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:23:17 +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 g8A2HHC12737 for ; Tue, 10 Sep 2002 03:17:18 +0100 Received: from listman.example.com (localhost.localdomain [127.0.0.1]) by listman.redhat.com (Postfix) with ESMTP id CA01940694; Mon, 9 Sep 2002 22:15:33 -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 E5D123FEFD for ; Mon, 9 Sep 2002 22:00:12 -0400 (EDT) Received: (from mail@localhost) by int-mx1.corp.example.com (8.11.6/8.11.6) id g8A207l18463 for exmh-users@listman.redhat.com; Mon, 9 Sep 2002 22:00:07 -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 g8A207m18459 for ; Mon, 9 Sep 2002 22:00:07 -0400 Received: from fort-point-station.mit.edu (FORT-POINT-STATION.MIT.EDU [18.7.7.76]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g8A1hmv13505 for ; Mon, 9 Sep 2002 21:43:48 -0400 Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.7.72]) by fort-point-station.mit.edu (8.9.2/8.9.2) with ESMTP id WAA20482 for ; Mon, 9 Sep 2002 22:00:07 -0400 (EDT) Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86]) by central-city-carrier-station.mit.edu (8.9.2/8.9.2) with ESMTP id WAA23907 for ; Mon, 9 Sep 2002 22:00:04 -0400 (EDT) Received: from multics.mit.edu (MULTICS.MIT.EDU [18.187.1.73]) by melbourne-city-street.mit.edu (8.9.2/8.9.2) with ESMTP id WAA19268 for ; Mon, 9 Sep 2002 22:00:04 -0400 (EDT) Received: from localhost (yyyyorzins@localhost) by multics.mit.edu (8.9.3) with ESMTP id WAA09695; Mon, 9 Sep 2002 22:00:03 -0400 (EDT) From: Jacob Morzinski To: Subject: Re: Sorting In-Reply-To: <200209092111.g89LBH703076@lin12.triumf.ca> Message-Id: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: List-Post: List-Subscribe: , List-Id: Discussion list for EXMH users List-Unsubscribe: , List-Archive: Date: Mon, 9 Sep 2002 22:00:03 -0400 (EDT) X-Spam-Status: No, hits=-11.4 required=7.0 tests=AWL,IN_REP_TO,KNOWN_MAILING_LIST,QUOTED_EMAIL_TEXT, SPAM_PHRASE_00_01,USER_AGENT_PINE,X_LOOP version=2.50-cvs X-Spam-Level: > > sh -c 'for f in "`folders -recurse -fast`" ; do sortm +"$f" ; done' > 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 may have a different version of "sh" than you do; the double quotes around the backticks work for my "sh". (In the more-than-you-really-wanted-to-know category, you're probably safe without the double quotes. The only reason I put them in is that I have some pathologically-named folders, including folders whose names contain spaces. If all your folders have safe names, you don't need special quoting.) -Jacob _______________________________________________ Exmh-users mailing list Exmh-users@redhat.com https://listman.redhat.com/mailman/listinfo/exmh-users