【发布时间】:2012-07-08 05:37:19
【问题描述】:
我有两个卸载文件,例如 header.unl 和 store.unl。
header.unl 只包含表的列名,而store.unl 包含表的输出信息。
例如:
header.unl --> store_nbr country_code state_code
store.unl --> 100 US 15
现在我想合并这两个文件,所以我的输出应该如下所示:
store_nbr country_code state_code
100 US 15
... .... ....
.... .... ....
我也想通过电子邮件收到这个。
任何想法和帮助将不胜感激。
【问题讨论】:
-
你试过什么?对于 store.unl 中的每一行,header.unl 中是否有一行?
-
cat header.unl store.unl并将其传送到适当的邮件程序?