- wap1 wap+php带后台管理
- NNFunctions NN Functions a program in Lisp to demonstrate working of an artificial neuron. (Enter an input vector X and weight vector W. Calculate weighted sum XW. Transform this using signal or activation functions like logistic
- java 运用语言实现ping函数的功能
- STM32-M3-Calendar STM32的日历实时时钟程序
- 484563 当点击编辑器的时候
- vrrficient__profile__chart Java编程io实例
文件名称:maillist
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:5.1kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
用三个线程,第一个线程负责mailing-list和template的处理,就是把mailing-list里人的邮箱地址和人名之类的按照要求填进template里的模板里,
第二个是负责处理template里的空格的,多于一个的连续空格要变成一个,每行最后的空格要去掉,每行开头不能有空格
第三个就是处理?,。等标点符号后要有两个空格,,而且命令行输入一个X,每行超过X个字节后就要自动换行
输出就是要把mailing-list里的人的信息填入tempate后输出到文件mail00001,mail00002,·····等有几个人就要有几个文件-– A sample substitution file, named mailing-list. Each addressee begins with a line
that says “NEW”.
– A template letter (template). Each substitution rule will contain a colon if it
doesn’t, ignore it.
– Two sample letters, the results of applying the substitution rules to the template
letter (sample1 and sample2).
Mail Generation Steps
• Step 1: Convert all tags in the template to their plaintext equivalent, according to the
substitution rules in the mailing-list. Tags will be nonempty strings of characters
surrounded by a pair of ^ characters. Tags that do not match any substitution should
be removed, i.e., replaced by the empty string. If you encounter the string “^^”, it is
not a tag, but should be replaced by a single ^. A ^ which is unmatched on the same
line should be reported as an error, and the program terminated.
• Step 2: Eliminate all extraneous spaces. Specifically:
– spaces at the beginning of a line should be removed
– spaces at the end of
第二个是负责处理template里的空格的,多于一个的连续空格要变成一个,每行最后的空格要去掉,每行开头不能有空格
第三个就是处理?,。等标点符号后要有两个空格,,而且命令行输入一个X,每行超过X个字节后就要自动换行
输出就是要把mailing-list里的人的信息填入tempate后输出到文件mail00001,mail00002,·····等有几个人就要有几个文件-– A sample substitution file, named mailing-list. Each addressee begins with a line
that says “NEW”.
– A template letter (template). Each substitution rule will contain a colon if it
doesn’t, ignore it.
– Two sample letters, the results of applying the substitution rules to the template
letter (sample1 and sample2).
Mail Generation Steps
• Step 1: Convert all tags in the template to their plaintext equivalent, according to the
substitution rules in the mailing-list. Tags will be nonempty strings of characters
surrounded by a pair of ^ characters. Tags that do not match any substitution should
be removed, i.e., replaced by the empty string. If you encounter the string “^^”, it is
not a tag, but should be replaced by a single ^. A ^ which is unmatched on the same
line should be reported as an error, and the program terminated.
• Step 2: Eliminate all extraneous spaces. Specifically:
– spaces at the beginning of a line should be removed
– spaces at the end of
(系统自动生成,下载前可以参看下载内容)
下载文件列表
maillist/mailing-list
maillist/maillist.c
maillist/maillist.c.bak
maillist/maillist.h
maillist/makefile
maillist/template
maillist
maillist/maillist.c
maillist/maillist.c.bak
maillist/maillist.h
maillist/makefile
maillist/template
maillist
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
