Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] using mutt in a bash script
- Date: Wed, 8 Aug 2007 18:10:09 -0700
- From: "Keith Bawden" <keith@example.com>
- Subject: Re: [tlug] using mutt in a bash script
- References: <20070807150652.GT6503@wasi.karlov.mff.cuni.cz> <f118b8b90708071820y9fde14br9466aaf1b9900b3e@mail.gmail.com> <20070808085715.5173472d.jep200404@columbus.rr.com>
On 8/8/07, jep200404 <jep200404@example.com> wrote: > Keith Bawden wrote: > > > Try this. > > > > for i in `cat test.adr` ;do cat invitation.txt | mutt -s "test" $i ; done > > I'm afraid that does each word separately, instead of a line at a time. > Compare the output of: > > for i in `cat test.adr` ;do echo "$i" ; done > > and > > while read i; do echo "$i" ; done < <(cat test.adr) ooops. You are correct. I'm used to working with a single value on each line for this sort of stuff. Sorry for the misdirection... Regards, Keith
- References:
- [tlug] using mutt in a bash script
- From: Michal Hajek
- Re: [tlug] using mutt in a bash script
- From: Keith Bawden
- Re: [tlug] using mutt in a bash script
- From: jep200404
Home | Main Index | Thread Index
- Prev by Date: RE: [tlug] [OT] Linux users voting (was: Linux breeding out Microsoft)
- Next by Date: Re: [tlug] Suggestions for splitting of mails?
- Previous by thread: Re: [tlug] using mutt in a bash script
- Next by thread: [tlug] austart.sh for Openbox in Ubuntu
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links