...
首页> 外文期刊>Linux Journal >Finishing Up the Bash Mail Merge Script
【24h】

Finishing Up the Bash Mail Merge Script

机译:完成Bash Mail合并脚本

获取原文
获取原文并翻译 | 示例
           

摘要

Remember the mail merge script I started writing a while back? Yeah, that was quite some time ago. I got sidetracked with the Linux Journal Anniversary special issue (see my article “Back in the Day: UNIX, Minix and Linux”), and then I spun off on a completely different tangent for my last article (“Breaking Up Apache Log Files for Analysis”). I blame it on... SQUIRREL! Oh, sorry, back to topic here. I was developing a shell script that would let you specify a text document with embedded field names that could be substituted iteratively across a file containing lots of field values. Each field was denoted by #fieldname#, and I identified two categories of fieldnames: fixed and dynamic. A fixed value might be #name#, which would come directly out of the data file, while a dynamic value could be #date#, which would be the current date.
机译:还记得我前一段时间开始写的邮件合并脚本吗?是的,那是相当一段时间以前了。我在Linux Journal Anniversary特刊(请参阅我的文章“当日回顾:UNIX,Minix和Linux”)旁走了一条路,然后我在上一篇文章(“为以下内容破坏Apache日志文件”)中截然不同分析”)。我责怪它...松鼠!哦,对不起,回到这里。我正在开发一个Shell脚本,该脚本可以让您指定带有嵌入式字段名称的文本文档,该字段名称可以在包含许多字段值的文件中迭代替换。每个字段都用#fieldname#表示,我确定了两类字段名:固定字段和动态字段。固定值可能是#name#,它将直接从数据文件中输出,而动态值可能是#date#,这将是当前日期。

著录项

  • 来源
    《Linux Journal》 |2019年第299期|64-69|共6页
  • 作者

    Dave Taylor;

  • 作者单位
  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号