<<< Date Index >>>     <<< Thread Index >>>

Re: Mailing lists and subscribe



Hi Alain,

Am 2008-03-09 17:58:02, schrieb Alain Bench:
>  On Monday, March 3, 2008 at 20:48:27 +0100, Michelle Konzack wrote:
> >| `for file in ~/Mail/lists/* ; do name=$(basename $file) ; \
> >|                  echo -e "lists $name\nsubscribe $name" ; done`
> 
>     This doesn't work:
> 
>  - the backtick expansion picks the first line only

I have added the \ only for the mail...
Put it into ~/.muttrc as

`for LIST in ~/Mail/lists/* ; do echo -e "subscribe $(basename $LIST)" ; done`

and it just works

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    24V Electronic Engineer
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature