-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Nov 22, 2000 at 07:19:30PM +0200, Leonid Mamtchenkov wrote:
>Maybe I need some sleep or something, but I cannot solve something here ;-)
>In my .muttrc I have the following line:
>
>mailboxes `echo ~/Mail/in*`
>
>This works pretty well... But what I need to do is to show me mailboxes which
>begin with "in" and do _not_ and with ".saved" ...  How do I go about it?
>
>I have tried to do all different kinds of ls and then "s/\n/ /g", but it does
>not work... Any ideas?

Newline removal with sed(1) has always been problematic for me.  You
really shouldn't need to worry, as backquotes are supposed to
translate newlines into spaces.

How about something more like `ls -1 ~/Mail/in* | grep -v '\.saved$'`?
If it turns out backquotes do NOT convert newlines, use an invocation
of a shell (e.g. bash -c "...") to do it for you.
- -- 
Oooooo-oooo-oooo-ooooo, Oooooo-oooo-oooo-ooooo, Ooooo-weem-oh-wum-ooo-ayyy
In the jungle, the silicon jungle, the process sleeps tonight.
Joe Philipps <[EMAIL PROTECTED]>, http://www.philippsfamily.org/Joe/
public PGP/GPG key available at www.keyserver.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjocBTcACgkQqnHkFvoCk1Mu5ACcC2XcSU6zYv7IJV6sGjr9BfsD
2IEAoJVb/lasLFv3WoUSptyzhrPeSWgN
=13Hc
-----END PGP SIGNATURE-----

Reply via email to