|
发表于 2005-6-3 23:49:24
|
显示全部楼层
Post by loosy929
Hi, I have one file: list.txt
----------
$cat list.txt
AA 303
BB 301
BC 104
AD 203
.. ..
.. ..
----------
IF i already have a function: mbxsend mailbox111 "name=AA, dest=BB"
Then AA , BB will be received at mailbox111.
How can I read the file list.txt line by line and send out the message for every line using the format?
Thanks for the help, any idea will be appreciated.
read
不行吗? ;)
烈火大哥越来越幽默了.  |
|