文件操作 - mail.st
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/enscript/hl/mail.st
编辑文件内容
/** * Name: mail * Description: Mail and news articles. * Author: Originally by Markku Rossi <mtr@iki.fi>, heavily modified * by Matthew Weigel <weigel@pitt.edu> */ state mail_body extends Highlight { BEGIN { reference_face (false); } /^[ \t]*>/ { comment_face (true); language_print ($0); call (eat_one_line); comment_face (false); } } state mail_header extends Highlight { BEGIN { reference_face (true); } END { comment_face (true); } /[ \t:]/ { language_print ($0); return; } } state mail extends HighlightEntry { /^[ \t]*$/ { /* Move to the mail body. */ call (mail_body); } /^/ { reference_face (true); language_print ($0); call (mail_header); comment_face (true); } } /* Local variables: mode: c End: */
修改文件时间
将文件时间修改为当前时间的前一年
删除文件