> Thanks.
> I am writing a shell script, which will not accept any arguments. But
> in this xcript, i want to run a command with many arguments, such as
> send the same mail to many peope:
> "mail person1@site1 person2@sit2 person3@site3 ...... < mymail"
> I am wondering how many addresses i can give to mail, which is related
> to the max command line legth.
>
> According to what you said, in this situation the limit is 128K?
> Do you think so?
>
> >
To avoid trouble with limits, use a for loop.
If you have a file with the addresses of recipients, you can do this
for name in `cat file`
do
mail $name .....
done
--
Juan Sales
Rio de Janeiro
[EMAIL PROTECTED]
www.manya.org