Re: Re: [exim] resending messages

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Odhiambo G. Washington
Fecha:  
A: Christopher Chaduka
Cc: exim-users, Steffen Heil
Asunto: Re: Re: [exim] resending messages
* Christopher Chaduka <cchaduka@???> [20040930 15:23]: wrote:
> On Thursday 30 September 2004 11:15, Steffen Heil wrote:
> > Hi
> >
> > Sorry, I am not good at linux scripting, but if I use
> >
> > > for file in ls; do formail -s sendmail some@??? < $file; done
> >
>
> I believe you forgot backquotes?
>
> for FILE in `ls`; do formail -s sendmail some@??? < $FILE; done
>



As sure as day follows night! That was a nice catch! Thanks for the
correction. BTW, I always like doing it the amateur way:

for file in `ls -1`; ...

Thanks

        cheers
       - wash 
+----------------------------------+-----------------------------------------+
Odhiambo Washington                     . WANANCHI ONLINE LTD (Nairobi, KE)  |
<wash at wananchi dot com>              . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223                 . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121                 . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"  
                         --from a /. post